p2p/protocols: fix minor comments typo (#18185)

This commit is contained in:
Liang Ma 2018-11-27 10:52:30 +00:00 committed by Péter Szilágyi
parent 695a5cce1e
commit 8b9f469419
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ func (p *Peer) handleIncoming(handle func(ctx context.Context, msg interface{})
// * arguments // * arguments
// * context // * context
// * the local handshake to be sent to the remote peer // * the local handshake to be sent to the remote peer
// * funcion to be called on the remote handshake (can be nil) // * function to be called on the remote handshake (can be nil)
// * expects a remote handshake back of the same type // * expects a remote handshake back of the same type
// * the dialing peer needs to send the handshake first and then waits for remote // * the dialing peer needs to send the handshake first and then waits for remote
// * the listening peer waits for the remote handshake and then sends it // * the listening peer waits for the remote handshake and then sends it