diff options
author | Liang Ma <liangma.ul@gmail.com> | 2018-11-27 18:52:30 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-11-27 18:52:30 +0800 |
commit | 8b9f46941924a04ce1091532a74def03e70c7559 (patch) | |
tree | ba9e880bc128672b604d84b4b593f048e07c2a4c /p2p/protocols | |
parent | 695a5cce1e4c0db173dd2a798ed0dc14ee9ca2a1 (diff) | |
download | dexon-8b9f46941924a04ce1091532a74def03e70c7559.tar dexon-8b9f46941924a04ce1091532a74def03e70c7559.tar.gz dexon-8b9f46941924a04ce1091532a74def03e70c7559.tar.bz2 dexon-8b9f46941924a04ce1091532a74def03e70c7559.tar.lz dexon-8b9f46941924a04ce1091532a74def03e70c7559.tar.xz dexon-8b9f46941924a04ce1091532a74def03e70c7559.tar.zst dexon-8b9f46941924a04ce1091532a74def03e70c7559.zip |
p2p/protocols: fix minor comments typo (#18185)
Diffstat (limited to 'p2p/protocols')
-rw-r--r-- | p2p/protocols/protocol.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/protocols/protocol.go b/p2p/protocols/protocol.go index 7dddd852f..b16720dd3 100644 --- a/p2p/protocols/protocol.go +++ b/p2p/protocols/protocol.go @@ -381,7 +381,7 @@ func (p *Peer) handleIncoming(handle func(ctx context.Context, msg interface{}) // * arguments // * context // * 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 // * 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 |