From 902c6dc692f6fe4ce53811622218f01eb482d801 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 18 Dec 2024 16:50:00 +0100 Subject: [PATCH] Use alreadySeen because need is not a bool anymore --- codex/rest/json.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex/rest/json.nim b/codex/rest/json.nim index 24936b34..4a000943 100644 --- a/codex/rest/json.nim +++ b/codex/rest/json.nim @@ -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 =