mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-24 19:59:51 +00:00
Use alreadySeen because need is not a bool anymore
This commit is contained in:
parent
a2f09b2296
commit
902c6dc692
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user