From: Jeffrey Czyz Date: Fri, 19 Feb 2021 02:01:58 +0000 (-0800) Subject: f - Remove printing when blocks are (dis)connected X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=e78d5dbf83451b14f2c808809eeaf8d82863aef5;p=rust-lightning f - Remove printing when blocks are (dis)connected --- diff --git a/lightning-block-sync/src/lib.rs b/lightning-block-sync/src/lib.rs index 84051a696..2ba142bd3 100644 --- a/lightning-block-sync/src/lib.rs +++ b/lightning-block-sync/src/lib.rs @@ -227,7 +227,6 @@ impl ChainNotifier { let mut new_tip = *old_header; for header in difference.disconnected_blocks.drain(..) { - println!("Disconnecting block {}", header.block_hash); if let Some(cached_header) = self.header_cache.block_disconnected(&header.block_hash) { assert_eq!(cached_header, header); } @@ -241,7 +240,6 @@ impl ChainNotifier { .or_else(|e| Err((e, Some(new_tip))))?; debug_assert_eq!(block.block_hash, header.block_hash); - println!("Connecting block {}", header.block_hash); self.header_cache.block_connected(header.block_hash, header); chain_listener.block_connected(&block, header.height); new_tip = header;