aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/discover/database.go
diff options
context:
space:
mode:
Diffstat (limited to 'p2p/discover/database.go')
-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)