Fix comment.

This commit is contained in:
cheatfate 2019-06-05 15:15:37 +03:00
parent 33d2cd7dd5
commit a041f35dc5
No known key found for this signature in database
GPG Key ID: 46ADD633A7201F95
1 changed files with 1 additions and 1 deletions

View File

@ -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: