Skip to content

Commit

Permalink
Lint with new rust 1.85.0-nightly (#447)
Browse files Browse the repository at this point in the history
This lint was not caught in earlier versions
  • Loading branch information
DanGould authored Dec 28, 2024
2 parents f202098 + e8d1eff commit f7cb8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payjoin/src/send/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Psbt> {
Expand Down

0 comments on commit f7cb8b7

Please sign in to comment.