Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lamafab committed Jan 20, 2024
1 parent 93f5144 commit 7530c54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rust/tw_utxo/src/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@ impl Compiler<StandardBitcoinContext> {

// Update the change amount in the `bitcoin` crate native transaction.
// This is required for the sighash calculation.
tx.output.last_mut().expect("change output not set").value =
change_output.value;
tx.output.last_mut().expect("change output not set").value = change_output.value;
}

// Calculate the effective fee.
Expand Down

0 comments on commit 7530c54

Please sign in to comment.