mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 04:17:44 +08:00
dht bugfix: unlock on print
This commit is contained in:
parent
04f9805d5d
commit
ea2706c698
@ -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()
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user