forked from cerc-io/plugeth
eth/protocols/snap: fix typo (#22530)
This commit is contained in:
parent
91726e8aad
commit
117fa7d4a1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user