Commit 1b4a7cbe authored by Aarsh Shah's avatar Aarsh Shah

fix error in Print

parent 509e9b4c
......@@ -459,7 +459,7 @@ func (rt *RoutingTable) Print() {
fmt.Printf("\tbucket: %d\n", i)
for e := b.list.Front(); e != nil; e = e.Next() {
p := e.Value.(peer.ID)
p := e.Value.(*PeerInfo).Id
fmt.Printf("\t\t- %s %s\n", p.Pretty(), rt.metrics.LatencyEWMA(p).String())
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment