From e78d5dbf83451b14f2c808809eeaf8d82863aef5 Mon Sep 17 00:00:00 2001 From: Jeffrey Czyz Date: Thu, 18 Feb 2021 18:01:58 -0800 Subject: [PATCH] f - Remove printing when blocks are (dis)connected --- lightning-block-sync/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.39.5