mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-23 19:05:51 +00:00
fix notifTx fee calculate bug
This commit is contained in:
parent
69934fb871
commit
3940c88e44
1 changed files with 7 additions and 5 deletions
|
@ -438,11 +438,13 @@ mixin PaynymWalletInterface {
|
||||||
feeRatePerKB: selectedTxFeeRate,
|
feeRatePerKB: selectedTxFeeRate,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (feeForNoChange < vSizeForNoChange * 1000) {
|
if (_coin == Coin.dogecoin || _coin == Coin.dogecoinTestNet) {
|
||||||
feeForNoChange = vSizeForNoChange * 1000;
|
if (feeForNoChange < vSizeForNoChange * 1000) {
|
||||||
}
|
feeForNoChange = vSizeForNoChange * 1000;
|
||||||
if (feeForWithChange < vSizeForWithChange * 1000) {
|
}
|
||||||
feeForWithChange = vSizeForWithChange * 1000;
|
if (feeForWithChange < vSizeForWithChange * 1000) {
|
||||||
|
feeForWithChange = vSizeForWithChange * 1000;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (satoshisBeingUsed - amountToSend > feeForNoChange + _dustLimitP2PKH) {
|
if (satoshisBeingUsed - amountToSend > feeForNoChange + _dustLimitP2PKH) {
|
||||||
|
|
Loading…
Reference in a new issue