From e8d1eff4485256181d531ad15704da4c14d317d8 Mon Sep 17 00:00:00 2001 From: DanGould Date: Thu, 26 Dec 2024 21:55:30 -0500 Subject: [PATCH] Lint with new rust 1.85.0-nightly This lint was not caught in earlier versions --- payjoin/src/send/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payjoin/src/send/mod.rs b/payjoin/src/send/mod.rs index a719e962..af62eaf0 100644 --- a/payjoin/src/send/mod.rs +++ b/payjoin/src/send/mod.rs @@ -517,7 +517,7 @@ impl PsbtContext { let mut res_str = String::new(); response.read_to_string(&mut res_str).map_err(InternalValidationError::Io)?; let proposal = Psbt::from_str(&res_str).map_err(|_| ResponseError::parse(&res_str))?; - self.process_proposal(proposal).map(Into::into).map_err(Into::into) + self.process_proposal(proposal).map_err(Into::into) } fn process_proposal(self, mut proposal: Psbt) -> InternalResult {