Commit 9547c835 authored by juga's avatar juga
Browse files

fix: relaylist: Comment too verbose logs

And log consensus params items instead of just keys.
parent f6084d36
Pipeline #38472 failed with stages
in 26 minutes and 8 seconds
......@@ -137,9 +137,9 @@ class Relay:
protocols = self._from_desc("protocols")
if protocols:
if 2 in protocols.get("FlowCtrl", []):
log.debug("Exit %s has 2 in `FlowCtrl`.", self.nickname)
# log.debug("Exit %s has 2 in `FlowCtrl`.", self.nickname)
return True
log.debug("Exit %s does not have 2 in `FlowCtrl`.", self.nickname)
# log.debug("Exit %s does not have 2 in `FlowCtrl`.", self.nickname)
return False
@property
......@@ -567,7 +567,7 @@ class RelayList:
for p in consensus_dict.get("params", [])
]
)
log.debug("Consensus params: %s", self.consensus_params_dict.keys())
log.debug("Consensus params: %s", self.consensus_params_dict.items())
@property
def is_consensus_cc_alg_2(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment