We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 530d92e commit bd68739Copy full SHA for bd68739
1 file changed
meshtastic/mesh_interface.py
@@ -892,7 +892,7 @@ def _sendPacket(
892
else:
893
our_exit("Warning: No myInfo found.")
894
# A simple hex style nodeid - we can parse this without needing the DB
895
- elif isinstance(destinationId, str) and len(destinationId) > 8:
+ elif isinstance(destinationId, str) and len(destinationId) >= 8:
896
# assuming some form of node id string such as !1234578 or 0x12345678
897
# always grab the last 8 items of the hexadecimal id str and parse to integer
898
nodeNum = int(destinationId[-8:], 16)
0 commit comments