mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-02-02 18:44:56 -05:00
Rename variable.
This commit is contained in:
parent
cfdbacfbb5
commit
9fb1a43f29
@ -148,10 +148,11 @@ impl TxLock {
|
|||||||
witness: Vec::new(),
|
witness: Vec::new(),
|
||||||
};
|
};
|
||||||
|
|
||||||
let i = spending_fee.as_sat();
|
let spending_fee = spending_fee.as_sat();
|
||||||
tracing::debug!("Redeem tx fee: {}", i);
|
tracing::debug!(%spending_fee, "Redeem tx fee");
|
||||||
let tx_out = TxOut {
|
let tx_out = TxOut {
|
||||||
value: self.inner.clone().extract_tx().output[self.lock_output_vout()].value - i,
|
value: self.inner.clone().extract_tx().output[self.lock_output_vout()].value
|
||||||
|
- spending_fee,
|
||||||
script_pubkey: spend_address.script_pubkey(),
|
script_pubkey: spend_address.script_pubkey(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user