diff --git a/payjoin/src/send/error.rs b/payjoin/src/send/error.rs index ab76d9e9..69a3f1a8 100644 --- a/payjoin/src/send/error.rs +++ b/payjoin/src/send/error.rs @@ -351,7 +351,7 @@ impl Display for ResponseError { Self::WellKnown(e) => e.fmt(f), // Don't display unknowns to end users, only debug logs Self::Unrecognized { .. } => write!(f, "The receiver sent an unrecognized error."), - Self::Validation(e) => write!(f, "The receiver sent an invalid response: {}", e), + Self::Validation(_) => write!(f, "The receiver sent an invalid response."), } } }