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…
Reference in New Issue