aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
diff options
context:
space:
mode:
authorLiang ZOU <liang.d.zou@gmail.com>2018-09-25 18:26:35 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-09-25 18:26:35 +0800
commit6663e5da10e7198f7ff5e883fd857240e59d476c (patch)
tree300654c5bfdc957423328d51af2339012d5673c0 /p2p
parent30cd5c18549f645002aedb4c00e5bab683cb0835 (diff)
downloaddexon-6663e5da10e7198f7ff5e883fd857240e59d476c.tar.gz
dexon-6663e5da10e7198f7ff5e883fd857240e59d476c.tar.zst
dexon-6663e5da10e7198f7ff5e883fd857240e59d476c.zip
all: fix various comment typos (#17748)
Diffstat (limited to 'p2p')
-rw-r--r--p2p/discv5/database_test.go2
-rw-r--r--p2p/enode/nodedb_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/p2p/discv5/database_test.go b/p2p/discv5/database_test.go
index a2ccb6467..2b86dc9ce 100644
--- a/p2p/discv5/database_test.go
+++ b/p2p/discv5/database_test.go
@@ -173,7 +173,7 @@ var nodeDBSeedQueryNodes = []struct {
),
pong: time.Now().Add(-3 * time.Hour),
},
- // This one shouldn't be in in the result set because its
+ // This one shouldn't be in the result set because its
// nodeID is the local node's ID.
{
node: NewNode(
diff --git a/p2p/enode/nodedb_test.go b/p2p/enode/nodedb_test.go
index 57a0424d8..b476a3439 100644
--- a/p2p/enode/nodedb_test.go
+++ b/p2p/enode/nodedb_test.go
@@ -171,7 +171,7 @@ var nodeDBSeedQueryNodes = []struct {
),
pong: time.Now().Add(-3 * time.Hour),
},
- // This one shouldn't be in in the result set because its
+ // This one shouldn't be in the result set because its
// nodeID is the local node's ID.
{
node: NewV4(