mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
Replaced "alloted" with "allotted"
Allotted is the correct form: http://www.thefreedictionary.com/allotted
This commit is contained in:
parent
2b94d7fc7f
commit
c808edb693
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ func (db *nodeDB) expirer() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// expireNodes iterates over the database and deletes all nodes that have not
|
// 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 {
|
func (db *nodeDB) expireNodes() error {
|
||||||
threshold := time.Now().Add(-nodeDBNodeExpiration)
|
threshold := time.Now().Add(-nodeDBNodeExpiration)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue