Skip to content

Commit

Permalink
fix: remove debug from CreateTxError
Browse files Browse the repository at this point in the history
  • Loading branch information
luisschwab committed Mar 9, 2025
1 parent 83be6a4 commit 328e42f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wallet/src/wallet/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl fmt::Display for CreateTxError {
Self::Descriptor(e) => e.fmt(f),
Self::Policy(e) => e.fmt(f),
CreateTxError::SpendingPolicyRequired(keychain_kind) => {
write!(f, "Spending policy required: {:?}", keychain_kind)
write!(f, "Spending policy required: {}", keychain_kind)
}
CreateTxError::Version0 => {
write!(f, "Invalid version `0`")
Expand Down

0 comments on commit 328e42f

Please sign in to comment.