Skip to content

Commit

Permalink
Update utxo_common.rs
Browse files Browse the repository at this point in the history
fix a typoo
  • Loading branch information
mariocynicys authored Jan 26, 2025
1 parent f76bdc4 commit c9fa422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm2src/coins/utxo/utxo_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ impl<'a, T: AsRef<UtxoCoinFields> + UtxoTxGenerationOps> UtxoTxBuilder<'a, T> {
let data = AdditionalTxData {
// FIXME: We used to return the fee without the gas fee. We must deduct the gas fee from here to remove it, but why?
// FIXME: This fee still includes the unused change. We must deduct the unused change to remove it, but why?
fee_amount: fee - (self.gas_fee + unused_chnage), // FIXME: Deducting the unused change and gas for now to check tests
fee_amount: fee - (self.gas_fee + unused_change), // FIXME: Deducting the unused change and gas for now to check tests
received_by_me: self.sum_received_by_me(&change_script_pubkey),
spent_by_me: self.sum_inputs(),
unused_change,
Expand Down

0 comments on commit c9fa422

Please sign in to comment.