Skip to content

Commit 34a66e1

Browse files
committed
crc: add error log trace in is_transaction_confirmed, #6387
1 parent 61ce292 commit 34a66e1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

stacks-node/src/burnchains/bitcoin_regtest_controller.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2164,7 +2164,10 @@ impl BitcoinRegtestController {
21642164
pub fn is_transaction_confirmed(&self, txid: &Txid) -> bool {
21652165
match self.rpc_client.get_transaction(txid) {
21662166
Ok(info) => info.confirmations > 0,
2167-
_ => false,
2167+
Err(e) => {
2168+
error!("Bitcoin RPC failure: checking tx confirmation {e:?}");
2169+
false
2170+
}
21682171
}
21692172
}
21702173
}

0 commit comments

Comments
 (0)