- C96DA174AE6CEB0489ED2B50872C02E481FA7D14D09A747B387BCF7EC45F1EC1DAC5326A3370951F20C8995C85FCC7A8B91BC333CEDAF78B11345A3897C8F95D
+ 01648A4C6129C725EBFAF5A84166BBC34CF2080DF4842887C872524819B87E13D524B0B8351F75F5ECC4F7A638CCE26D5DA72C4967C5785EBF1A956DB5906B38
blatta/lib/peer.py
(24 . 15)(24 . 15)
87 return None
88
89 def send(self, signed_packet_bytes):
90 if self.get_key() != None:
91 if self.get_key() != None and self.address != None and self.port != None:
92 try:
93 self.socket.sendto(signed_packet_bytes, (self.address, self.port))
94 logging.debug("[%s:%d] <- %s" % (self.address,
95 self.port,
96 int(self.port),
97 binascii.hexlify(signed_packet_bytes)[0:16]))
98
99 except Exception as ex:
100 stack = traceback.format_exc()
101 logging.debug(stack)
102 else:
103 logging.debug("Discarding message to unknown handle or handle with no key: %s" % message.handle)
104 logging.debug("Discarding message to unknown handle or handle with no key: %s" % self.handles[0])