Skip to content

Commit 4ab762f

Browse files
committed
chore: Remove debugging print statements
1 parent 5fe4948 commit 4ab762f

File tree

1 file changed

+0
-3
lines changed
  • stackslib/src/chainstate/nakamoto

1 file changed

+0
-3
lines changed

stackslib/src/chainstate/nakamoto/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2701,12 +2701,10 @@ impl NakamotoChainState {
27012701
index_block_hash: &StacksBlockId,
27022702
) -> Result<Option<StacksHeaderInfo>, ChainstateError> {
27032703
let sql = "SELECT * FROM block_headers WHERE index_block_hash = ?1";
2704-
println!("get_block_header_epoch2(): Looking for block {index_block_hash}");
27052704
let result = query_row_panic(chainstate_conn, sql, &[&index_block_hash], || {
27062705
"FATAL: multiple rows for the same block hash".to_string()
27072706
})?;
27082707

2709-
println!("get_block_header_epoch2(): Found {result:?}");
27102708
Ok(result)
27112709
}
27122710

@@ -2715,7 +2713,6 @@ impl NakamotoChainState {
27152713
chainstate_conn: &Connection,
27162714
index_block_hash: &StacksBlockId,
27172715
) -> Result<Option<StacksHeaderInfo>, ChainstateError> {
2718-
println!("get_block_header(): Looking for block {index_block_hash}");
27192716
if let Some(header) = Self::get_block_header_nakamoto(chainstate_conn, index_block_hash)? {
27202717
return Ok(Some(header));
27212718
}

0 commit comments

Comments
 (0)