diff --git a/src/meshcore/commands/base.py b/src/meshcore/commands/base.py index ae2776a..7fc378f 100644 --- a/src/meshcore/commands/base.py +++ b/src/meshcore/commands/base.py @@ -32,10 +32,14 @@ def _validate_destination(dst: DestinationType, prefix_length: int = 6) -> bytes """ if isinstance(dst, bytes): # Already bytes, use directly + if len(dst)