|
@@ -576,7 +576,7 @@ class RelayChannelManager(ChannelManager):
|
|
|
if isinstance(msg, RelayRandomHopMsg):
|
|
|
if msg.ttl > 0:
|
|
|
# Pick a random next hop from the consensus
|
|
|
- nexthop = relaypicker.pick_weighted_relay()
|
|
|
+ nexthop = self.relaypicker.pick_weighted_relay()
|
|
|
if network.thenetwork.womode == network.WOMode.VANILLA:
|
|
|
nextaddr = nexthop.descdict["addr"]
|
|
|
else:
|