mirror of
https://github.com/status-im/nim-codex.git
synced 2025-02-13 19:26:47 +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,
|
peerId: node.record.data.peerId,
|
||||||
record: node.record,
|
record: node.record,
|
||||||
address: node.address,
|
address: node.address,
|
||||||
seen: node.seen
|
seen: node.alreadySeen()
|
||||||
)
|
)
|
||||||
|
|
||||||
proc init*(_: type RestRoutingTable, routingTable: rt.RoutingTable): RestRoutingTable =
|
proc init*(_: type RestRoutingTable, routingTable: rt.RoutingTable): RestRoutingTable =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user