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

This commit is contained in:
Guillaume Ballet 2020-09-11 18:35:38 +00:00 committed by GitHub
parent df219e23df
commit 4e2641319b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 // 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()