Skip to content

Commit

Permalink
chore: remove into_iter where clippy hates it (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
stjepangolemac authored Aug 30, 2023
1 parent 7b495c2 commit 373e82a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sbtc-cli/src/commands/withdraw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ fn withdrawal_psbt(

let (mut partial_tx, _) = tx_builder.finish()?;

partial_tx.unsigned_tx.output =
reorder_outputs(partial_tx.unsigned_tx.output.into_iter(), outputs);
partial_tx.unsigned_tx.output = reorder_outputs(partial_tx.unsigned_tx.output, outputs);

Ok(partial_tx)
}
Expand Down

0 comments on commit 373e82a

Please sign in to comment.