Replaced "alloted" with "allotted"

Allotted is the correct form: http://www.thefreedictionary.com/allotted
This commit is contained in:
Ville Sundell 2016-07-06 12:34:54 +03:00
parent 2b94d7fc7f
commit c808edb693

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)