浏览代码

correct ttl

Chelsea H. Komlo 4 年之前
父节点
当前提交
8c00016d71
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client.py

+ 1 - 1
client.py

@@ -315,7 +315,7 @@ class ClientChannelManager(relay.ChannelManager):
         # Construct the SinglePassCreateCircuitMsg
         ntor = relay.NTor(self.perfstats)
         ntor_request = ntor.request()
-        ttl = 3 # TODO set a default for the msg type
+        ttl = 2 # TODO set a default for the msg type
         circcreatemsg = relay.SinglePassCreateCircuitMsg(circid, ntor_request,
                 client_key.public_key, ttl)