fix send all (#1766)

* shouldn't matter, but still investigating why this fixes it

* got it, but this change is just for consistency [skip ci]
This commit is contained in:
Omar Hatem 2024-10-22 16:46:25 +03:00 committed by GitHub
parent 20efba43cb
commit 3898208a6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1063,7 +1063,7 @@ abstract class ElectrumWalletBase
if (sendAll) { if (sendAll) {
estimatedTx = await estimateSendAllTx( estimatedTx = await estimateSendAllTx(
outputs, updatedOutputs,
feeRateInt, feeRateInt,
memo: memo, memo: memo,
credentialsAmount: credentialsAmount, credentialsAmount: credentialsAmount,
@ -1115,7 +1115,7 @@ abstract class ElectrumWalletBase
if (network is BitcoinCashNetwork) { if (network is BitcoinCashNetwork) {
txb = ForkedTransactionBuilder( txb = ForkedTransactionBuilder(
utxos: estimatedTx.utxos, utxos: estimatedTx.utxos,
outputs: outputs, outputs: updatedOutputs,
fee: BigInt.from(estimatedTx.fee), fee: BigInt.from(estimatedTx.fee),
network: network, network: network,
memo: estimatedTx.memo, memo: estimatedTx.memo,