Ian Goldberg 4 anos atrás
pai
commit
d2721142a0
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      Makefile
  2. 1 1
      relay.py

+ 1 - 1
Makefile

@@ -6,5 +6,5 @@ test:
 	echo "tbd"
 
 deps:
-	pip3 install nacl
+	pip3 install pynacl
 

+ 1 - 1
relay.py

@@ -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: