Skip to content

Commit 328e42f

Browse files
committed
fix: remove debug from CreateTxError
1 parent 83be6a4 commit 328e42f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/wallet/src/wallet/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ impl fmt::Display for CreateTxError {
112112
Self::Descriptor(e) => e.fmt(f),
113113
Self::Policy(e) => e.fmt(f),
114114
CreateTxError::SpendingPolicyRequired(keychain_kind) => {
115-
write!(f, "Spending policy required: {:?}", keychain_kind)
115+
write!(f, "Spending policy required: {}", keychain_kind)
116116
}
117117
CreateTxError::Version0 => {
118118
write!(f, "Invalid version `0`")

0 commit comments

Comments
 (0)