p2p/discover: fix typo in comments (#21554)
This commit is contained in:
parent
df219e23df
commit
4e2641319b
@ -377,7 +377,7 @@ func (tab *Table) nextRevalidateTime() time.Duration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// copyLiveNodes adds nodes from the table to the database if they have been in the table
|
// copyLiveNodes adds nodes from the table to the database if they have been in the table
|
||||||
// longer then minTableTime.
|
// longer than seedMinTableTime.
|
||||||
func (tab *Table) copyLiveNodes() {
|
func (tab *Table) copyLiveNodes() {
|
||||||
tab.mutex.Lock()
|
tab.mutex.Lock()
|
||||||
defer tab.mutex.Unlock()
|
defer tab.mutex.Unlock()
|
||||||
|
Loading…
Reference in New Issue
Block a user