Use alreadySeen because need is not a bool anymore

This commit is contained in:
Arnaud 2024-12-18 16:50:00 +01:00
parent a2f09b2296
commit 902c6dc692
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663

View File

@ -90,7 +90,7 @@ proc init*(_: type RestNode, node: dn.Node): RestNode =
peerId: node.record.data.peerId,
record: node.record,
address: node.address,
seen: node.seen
seen: node.alreadySeen()
)
proc init*(_: type RestRoutingTable, routingTable: rt.RoutingTable): RestRoutingTable =