From 59ba0ad8ef3f3a7203b1d0587ebf07e8642767f2 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Wed, 11 Sep 2024 08:20:34 +0200 Subject: [PATCH] electrum: log local and updated chains after polling Electrum --- src/bitcoin/electrum/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bitcoin/electrum/mod.rs b/src/bitcoin/electrum/mod.rs index f02a27cd..f9c32dd2 100644 --- a/src/bitcoin/electrum/mod.rs +++ b/src/bitcoin/electrum/mod.rs @@ -191,6 +191,9 @@ impl Electrum { chain_update.height() ); + log::debug!("Full local chain: {:?}", self.local_chain()); + log::debug!("Full chain update: {:?}", chain_update); + // Increment the sync count and apply changes. self.sync_count = self.sync_count.checked_add(1).expect("must fit"); if let Some(keychain_update) = keychain_update {