Skip to content

Commit 8b9f469

Browse files
LiangMakaralabe
authored andcommitted
p2p/protocols: fix minor comments typo (#18185)
1 parent 695a5cc commit 8b9f469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

p2p/protocols/protocol.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ func (p *Peer) handleIncoming(handle func(ctx context.Context, msg interface{})
381381
// * arguments
382382
// * context
383383
// * the local handshake to be sent to the remote peer
384-
// * funcion to be called on the remote handshake (can be nil)
384+
// * function to be called on the remote handshake (can be nil)
385385
// * expects a remote handshake back of the same type
386386
// * the dialing peer needs to send the handshake first and then waits for remote
387387
// * the listening peer waits for the remote handshake and then sends it

0 commit comments

Comments
 (0)