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
|
// lookup all routes routable via gw
|
||||||
q = router.NewQuery(
|
q = router.NewQuery(
|
||||||
router.QueryGateway(peer.address),
|
router.QueryGateway(peer.id),
|
||||||
)
|
)
|
||||||
if err := n.pruneRoutes(q); err != nil {
|
if err := n.pruneRoutes(q); err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user