mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-06-11 11:39:32 +00:00
Fix crash
This commit is contained in:
parent
67dbc3fe13
commit
8bbbcd320a
@ -236,7 +236,7 @@ proc receive*(t: Transport, a: Address, packet: openArray[byte]) =
|
||||
trace "Added new node to routing table after handshake", node, tablesize=t.client.nodesDiscovered()
|
||||
discard t.sendPending(node)
|
||||
else:
|
||||
trace "address mismatch, not adding seen flag", node, address = a, nodeAddress = node.address.get()
|
||||
trace "address mismatch, not adding seen flag", node, address = a, nodeAddress = node.address
|
||||
else:
|
||||
dht_transport_rx_packets.inc(labelValues = ["failed_decode"])
|
||||
dht_transport_rx_bytes.inc(packet.len.int64, labelValues = ["failed_decode"])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user