소스 검색

python typo

Ian Goldberg 4 년 전
부모
커밋
d2721142a0
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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: