From 328e42f9997aa8d0063781b81a1c404189b39577 Mon Sep 17 00:00:00 2001 From: Luis Schwab Date: Sun, 9 Mar 2025 20:44:39 -0300 Subject: [PATCH] fix: remove debug from CreateTxError --- crates/wallet/src/wallet/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wallet/src/wallet/error.rs b/crates/wallet/src/wallet/error.rs index adce5b188..0abf9e4db 100644 --- a/crates/wallet/src/wallet/error.rs +++ b/crates/wallet/src/wallet/error.rs @@ -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`")