From 117fa7d4a1ac0211b6a59aac5f3c5f7e5890e053 Mon Sep 17 00:00:00 2001
From: wuff1996 <33193253+wuff1996@users.noreply.github.com>
Date: Fri, 19 Mar 2021 15:49:24 +0800
Subject: [PATCH] eth/protocols/snap: fix typo (#22530)

---
 eth/protocols/snap/handler.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eth/protocols/snap/handler.go b/eth/protocols/snap/handler.go
index 24c859955..b9515b8a3 100644
--- a/eth/protocols/snap/handler.go
+++ b/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
-// 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.
 func handleMessage(backend Backend, peer *Peer) error {
 	// Read the next message from the remote peer, and ensure it's fully consumed
-- 
GitLab