p2p/discover: fix typo in comments (#21554)

This commit is contained in:
Guillaume Ballet 2020-09-11 18:35:38 +00:00 committed by Igor Mandrigin
parent 0cc7aba2b7
commit 20066ac3d1

View File

@ -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
// longer then minTableTime.
// longer than seedMinTableTime.
func (tab *Table) copyLiveNodes() {
tab.mutex.Lock()
defer tab.mutex.Unlock()