From 6689c0ba427672c2d79d3ef710e52552fbe479ed Mon Sep 17 00:00:00 2001 From: Mariano Sorgente Date: Thu, 11 Feb 2021 20:22:05 +0900 Subject: [PATCH] Logging --- src/wallet/wallet_node.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wallet/wallet_node.py b/src/wallet/wallet_node.py index 8fd790f213..39bbb6f96b 100644 --- a/src/wallet/wallet_node.py +++ b/src/wallet/wallet_node.py @@ -415,7 +415,6 @@ class WalletNode: while ( not self.wallet_state_manager.blockchain.contains_sub_block(top.prev_header_hash) and top.height > 0 ): - self.log.info(f"FETCHING {top.height - 1}") request_prev = wallet_protocol.RequestSubBlockHeader(top.height - 1) response_prev: Optional[RespondSubBlockHeader] = await peer.request_sub_block_header(request_prev) if response_prev is None: @@ -445,7 +444,7 @@ class WalletNode: f"invalid weight proof, num of epochs {len(weight_proof.sub_epochs)}" f" recent blocks num ,{len(weight_proof.recent_chain_data)}" ) - # self.log.error(f"{weight_proof}") + self.log.debug(f"{weight_proof}") return None self.log.info(f"Validated, fork point is {fork_point}") self.wallet_state_manager.sync_store.add_potential_fork_point(