Skip to content

Commit

Permalink
chore 🎫: forgot to include the adjustment to the bitcoin block stream…
Browse files Browse the repository at this point in the history
… under debug

ISSUE: #60
  • Loading branch information
emailnjv committed Jan 9, 2025
1 parent d276fa5 commit b7ee083
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/federation/src/bitcoin_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ pub async fn stream_blocks(
let height = state.next_height;
match state.rpc.wait_for_block(height, num_confirmations).await {
Ok(block) => {
debug!("found block {} at height {}", block.block_hash(), height);
if height % 10000 == 0 {
debug!("found block {} at height {}", block.block_hash(), height);
}
state.next_height += 1;
Some((Ok((block, height)), state))
}
Expand Down

0 comments on commit b7ee083

Please sign in to comment.