aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-01-07 01:44:35 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-01-07 01:44:35 +0800
commit18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00 (patch)
treef346aa2c1de4c873ba7d7bf847225b2c319c5694 /p2p
parentac93a6ff6cd1200ab0fb67a5bd0c02cb70646632 (diff)
downloadgo-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar
go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.gz
go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.bz2
go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.lz
go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.xz
go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.zst
go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.zip
all: fix spelling errors
Diffstat (limited to 'p2p')
-rw-r--r--p2p/discover/udp_test.go2
-rw-r--r--p2p/discv5/udp_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/p2p/discover/udp_test.go b/p2p/discover/udp_test.go
index 8bca37ffe..21e8b561d 100644
--- a/p2p/discover/udp_test.go
+++ b/p2p/discover/udp_test.go
@@ -234,7 +234,7 @@ func TestUDP_findnode(t *testing.T) {
defer test.table.Close()
// put a few nodes into the table. their exact
- // distribution shouldn't matter much, altough we need to
+ // distribution shouldn't matter much, although we need to
// take care not to overflow any bucket.
targetHash := crypto.Keccak256Hash(testTarget[:])
nodes := &nodesByDistance{target: targetHash}
diff --git a/p2p/discv5/udp_test.go b/p2p/discv5/udp_test.go
index 98c737669..7d3181594 100644
--- a/p2p/discv5/udp_test.go
+++ b/p2p/discv5/udp_test.go
@@ -126,7 +126,7 @@ var (
// defer test.table.Close()
//
// // put a few nodes into the table. their exact
-// // distribution shouldn't matter much, altough we need to
+// // distribution shouldn't matter much, although we need to
// // take care not to overflow any bucket.
// targetHash := crypto.Keccak256Hash(testTarget[:])
// nodes := &nodesByDistance{target: targetHash}