瀏覽代碼

fix reference to perfstats

Chelsea H. Komlo 4 年之前
父節點
當前提交
8191f52793
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      relay.py

+ 1 - 1
relay.py

@@ -903,7 +903,7 @@ class RelayChannelManager(ChannelManager):
             # 2. blinding each of the client's public keys to send to the next
             #    hop.
             idx, blinded_client_pubkey = Sphinx.server(msg.client_path_selection_key,
-            self.path_selection_key, b'circuit', False, perfstats)
+            self.path_selection_key, b'circuit', False, self.perfstats)
 
             sys.exit("TODO convert shared secret into integer type modulo alpha")
             nexthop = self.relaypicker.pick_relay_by_uniform_index(idx)