Skip to content

Commit

Permalink
chore: log additional info when signing fails
Browse files Browse the repository at this point in the history
  • Loading branch information
sander2 committed Sep 4, 2023
1 parent 79e1235 commit f58f598
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bitcoin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,11 @@ impl BitcoinCore {

// Make sure signing is successful
if signed_funded_raw_tx.errors.is_some() {
log::warn!(
"Received bitcoin funding errors (complete={}): {:?}",
signed_funded_raw_tx.complete,
signed_funded_raw_tx.errors
);
return Err(Error::TransactionSigningError);
}

Expand Down

0 comments on commit f58f598

Please sign in to comment.