mirror of https://github.com/status-im/nim-eth.git
Fix comment.
This commit is contained in:
parent
33d2cd7dd5
commit
a041f35dc5
|
@ -256,7 +256,7 @@ template perPeerMsgId(peer: Peer, MsgType: type): int =
|
|||
perPeerMsgIdImpl(peer, MsgType.msgProtocol.protocolInfo, MsgType.msgId)
|
||||
|
||||
proc join*(peer: Peer): Future[void] =
|
||||
## Wait until `peer` is alive.
|
||||
## Wait as long as the ``peer`` is alive.
|
||||
var retFuture = newFuture[void]("rlpx.peer.join")
|
||||
proc continuation(udata: pointer) = retFuture.complete()
|
||||
if not peer.messageLoop.finished:
|
||||
|
|
Loading…
Reference in New Issue