eth/protocols/snap: fix typo (#22530)

This commit is contained in:
wuff1996
2021-03-19 15:49:24 +08:00
committed by GitHub
parent 91726e8aad
commit 117fa7d4a1

View File

@ -115,7 +115,7 @@ func handle(backend Backend, peer *Peer) error {
} }
// handleMessage is invoked whenever an inbound message is received from a // handleMessage is invoked whenever an inbound message is received from a
// remote peer on the `spap` protocol. The remote connection is torn down upon // remote peer on the `snap` protocol. The remote connection is torn down upon
// returning any error. // returning any error.
func handleMessage(backend Backend, peer *Peer) error { func handleMessage(backend Backend, peer *Peer) error {
// Read the next message from the remote peer, and ensure it's fully consumed // Read the next message from the remote peer, and ensure it's fully consumed