Explorar o código

fix reference to perfstats

Chelsea H. Komlo %!s(int64=4) %!d(string=hai) anos
pai
achega
8191f52793
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)