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

pull/22533/head
wuff1996 4 years ago committed by GitHub
parent 91726e8aad
commit 117fa7d4a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      eth/protocols/snap/handler.go

@ -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…
Cancel
Save