From 63d7d98e15cd4b86c6b819bc910e0469381bd1f0 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Mon, 12 Sep 2022 16:41:13 -0600 Subject: [PATCH] updateRecord takes an optional now --- codex/discovery.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/codex/discovery.nim b/codex/discovery.nim index 98089383..5904a772 100644 --- a/codex/discovery.nim +++ b/codex/discovery.nim @@ -137,7 +137,9 @@ method provide*(d: Discovery, host: ca.Address) {.async, base.} = trace "Provided to nodes", nodes = nodes.len proc start*(d: Discovery) {.async.} = - d.protocol.updateRecord(d.localInfo.signedPeerRecord).expect("updating SPR") + d.protocol.updateRecord( + d.localInfo.signedPeerRecord.some).expect("updating SPR") + d.protocol.open() d.protocol.start()