We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 317d81c commit f9ae021Copy full SHA for f9ae021
1 file changed
meshtastic/mesh_interface.py
@@ -469,15 +469,6 @@ def sendData(
469
and can be used to track future message acks/naks.
470
"""
471
472
- # issue 464: allow for 0x prefix in destinationId for hex values
473
- # destination ids can either be integers or strings with a !prefix
474
- try:
475
- # sometimes the destinationId is actually an int as a string, so doing a type() check won't work
476
- int(destinationId)
477
- except ValueError:
478
- # only take the last 8 characters of the hexadecimal destinationId and force a ! prefix
479
- destinationId = f'!{destinationId[-8:]}'
480
-
481
if getattr(data, "SerializeToString", None):
482
logging.debug(f"Serializing protobuf as data: {stripnl(data)}")
483
data = data.SerializeToString()
0 commit comments