pull/154/head
Mark Qvist 2022-10-04 22:41:58 +02:00
rodzic 1e4dd9d6f0
commit c18997bf5b
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -1242,7 +1242,6 @@ class Transport:
attached_interface
]
# If we have any local clients connected, we re-
# transmit the announce to them immediately
if (len(Transport.local_client_interfaces)):
@ -1319,7 +1318,6 @@ class Transport:
new_announce.hops = packet.hops
new_announce.send()
destination_table_entry = [now, received_from, announce_hops, expires, random_blobs, packet.receiving_interface, packet]
Transport.destination_table[packet.destination_hash] = destination_table_entry
RNS.log("Destination "+RNS.prettyhexrep(packet.destination_hash)+" is now "+str(announce_hops)+" hops away via "+RNS.prettyhexrep(received_from)+" on "+str(packet.receiving_interface), RNS.LOG_DEBUG)