mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-03 14:03:10 +00:00
updateRecord takes an optional now
This commit is contained in:
parent
206a5b9b19
commit
63d7d98e15
@ -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()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user