mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-31 06:55:59 +00:00
[skip ci] minor
This commit is contained in:
parent
a5db347b72
commit
6dd6f06d3f
1 changed files with 2 additions and 0 deletions
|
@ -973,10 +973,12 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
|
|||
final sum1 = _sumOutputAmounts(outputs.map((e) => e.toOutput).toList()) + fee;
|
||||
final sum2 = utxos.sumOfUtxosValue();
|
||||
if (sum1 != sum2) {
|
||||
print("@@@@@ WE HAD TO ADJUST THE FEE! @@@@@@@@");
|
||||
final diff = sum2 - sum1;
|
||||
// add the difference to the fee (abs value):
|
||||
fee += diff.abs();
|
||||
}
|
||||
|
||||
print("fee is now: $fee");
|
||||
|
||||
final txb =
|
||||
|
|
Loading…
Reference in a new issue