ethdb, p2p/discover: replace "alloted" with "allotted" (#2785)

This commit is contained in:
villesundell
2016-07-12 12:42:47 +03:00
committed by Felix Lange
parent 2b94d7fc7f
commit c7442ef0d2
2 changed files with 4 additions and 4 deletions

View File

@ -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)