Skip to content

Commit

Permalink
Merge pull request #1942 from get10101/chore/block-height
Browse files Browse the repository at this point in the history
chore: print latest height after sync
  • Loading branch information
bonomat authored Feb 2, 2024
2 parents 456e6b7 + d53a447 commit 838133a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/ln-dlc-node/src/ldk_node_wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,11 @@ where

wallet_lock.sync(&self.blockchain, SyncOptions::default())?;

let height = self.blockchain.get_height()?;

tracing::info!(
duration = now.elapsed().as_millis(),
latest_height = height,
"Finished on-chain sync",
);

Expand Down

0 comments on commit 838133a

Please sign in to comment.