mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 09:59:13 +08:00
dht bugfix: unlock on print
This commit is contained in:
@ -227,4 +227,5 @@ func (rt *RoutingTable) Print() {
|
||||
for i, p := range peers {
|
||||
fmt.Printf("%d) %s %s\n", i, p.Pretty(), rt.metrics.LatencyEWMA(p).String())
|
||||
}
|
||||
rt.tabLock.RUnlock()
|
||||
}
|
||||
|
Reference in New Issue
Block a user