mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-08 08:23:07 +00:00
Add missing peerAddresses
This commit is contained in:
parent
730e1be8c5
commit
0e318385c3
@ -88,7 +88,7 @@ proc process*(
|
|||||||
|
|
||||||
case self.operation
|
case self.operation
|
||||||
of NodeP2PMsgType.CONNECT:
|
of NodeP2PMsgType.CONNECT:
|
||||||
let res = (await connect(codex, self.peerId))
|
let res = (await connect(codex, self.peerId, self.peerAddresses))
|
||||||
if res.isErr:
|
if res.isErr:
|
||||||
error "Failed to CONNECT.", error = res.error
|
error "Failed to CONNECT.", error = res.error
|
||||||
return err($res.error)
|
return err($res.error)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user