Gateway is now set to node Id, hence we prune peer.id Gateway
This commit is contained in:
parent
a72a2f717d
commit
3201b4cb36
@ -427,7 +427,7 @@ func (n *network) prunePeerRoutes(peer *node) error {
|
||||
|
||||
// lookup all routes routable via gw
|
||||
q = router.NewQuery(
|
||||
router.QueryGateway(peer.address),
|
||||
router.QueryGateway(peer.id),
|
||||
)
|
||||
if err := n.pruneRoutes(q); err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user