aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
diff options
context:
space:
mode:
authorvillesundell <github@solarius.fi>2016-07-12 17:42:47 +0800
committerFelix Lange <fjl@twurst.com>2016-07-12 17:42:47 +0800
commitc7442ef0d20ff17485921d248b1f0d7caeeb9188 (patch)
treec2bed11bcbcc327a603120bc119e46f2bfedc963 /p2p
parent2b94d7fc7fa93ecfd5ab6ddaa0c7bf4d2224d2be (diff)
downloaddexon-c7442ef0d20ff17485921d248b1f0d7caeeb9188.tar.gz
dexon-c7442ef0d20ff17485921d248b1f0d7caeeb9188.tar.zst
dexon-c7442ef0d20ff17485921d248b1f0d7caeeb9188.zip
ethdb, p2p/discover: replace "alloted" with "allotted" (#2785)
Diffstat (limited to 'p2p')
-rw-r--r--p2p/discover/database.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/discover/database.go b/p2p/discover/database.go
index 6d448515d..d6ea507bb 100644
--- a/p2p/discover/database.go
+++ b/p2p/discover/database.go
@@ -243,7 +243,7 @@ func (db *nodeDB) expirer() {
}
// expireNodes iterates over the database and deletes all nodes that have not
-// been seen (i.e. received a pong from) for some alloted time.
+// been seen (i.e. received a pong from) for some allotted time.
func (db *nodeDB) expireNodes() error {
threshold := time.Now().Add(-nodeDBNodeExpiration)