aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/pot
diff options
context:
space:
mode:
authorHackyMiner <hackyminer@gmail.com>2018-09-20 00:10:40 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-09-20 00:10:40 +0800
commit6975c7298102f73981a62871f6da8db2b5dbf32c (patch)
tree53f440dcae0e0f48cd9d7de52e2cea96ecbe9664 /swarm/pot
parentc35659c6a0d8c9dd7b7616bb91700385292f403a (diff)
downloaddexon-6975c7298102f73981a62871f6da8db2b5dbf32c.tar.gz
dexon-6975c7298102f73981a62871f6da8db2b5dbf32c.tar.zst
dexon-6975c7298102f73981a62871f6da8db2b5dbf32c.zip
all: fix various comment typos (#17591)
* swarm: fixed comment typo * eth: fixed comment typo * cmd/puppeth: fixed comment typo
Diffstat (limited to 'swarm/pot')
-rw-r--r--swarm/pot/doc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/pot/doc.go b/swarm/pot/doc.go
index 4c0a03065..cb6faea57 100644
--- a/swarm/pot/doc.go
+++ b/swarm/pot/doc.go
@@ -27,11 +27,11 @@ OR distance over finite set of integers).
Methods take a comparison operator (pof, proximity order function) to compare two
value types. The default pof assumes Val to be or project to a byte slice using
-the reverse rank on the MSB first XOR logarithmic disctance.
+the reverse rank on the MSB first XOR logarithmic distance.
If the address space if limited, equality is defined as the maximum proximity order.
-The container offers applicative (funcional) style methods on PO trees:
+The container offers applicative (functional) style methods on PO trees:
* adding/removing en element
* swap (value based add/remove)
* merging two PO trees (union)