aboutsummaryrefslogtreecommitdiffstats
path: root/swarm
diff options
context:
space:
mode:
authorWuxiang <wuxiangzhou2010@gmail.com>2018-04-19 21:32:02 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-04-19 21:32:02 +0800
commit8f8774cf6dd5bbcba9fa3773fa34d13d6523a147 (patch)
treee17a5fd27cd0515b0be53965da216d1e936dca28 /swarm
parentc514fbccc036faafef995d422a74dbe5630e7e00 (diff)
downloadgo-tangerine-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar
go-tangerine-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar.gz
go-tangerine-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar.bz2
go-tangerine-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar.lz
go-tangerine-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar.xz
go-tangerine-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar.zst
go-tangerine-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.zip
all: fix various typos (#16533)
* fix typo * fix typo * fix typo
Diffstat (limited to 'swarm')
-rw-r--r--swarm/network/kademlia/address.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/kademlia/address.go b/swarm/network/kademlia/address.go
index 4c38a846f..ef82d2e8b 100644
--- a/swarm/network/kademlia/address.go
+++ b/swarm/network/kademlia/address.go
@@ -51,7 +51,7 @@ func (a Address) Bin() string {
/*
Proximity(x, y) returns the proximity order of the MSB distance between x and y
-The distance metric MSB(x, y) of two equal length byte sequences x an y is the
+The distance metric MSB(x, y) of two equal length byte sequences x and y is the
value of the binary integer cast of the x^y, ie., x and y bitwise xor-ed.
the binary cast is big endian: most significant bit first (=MSB).