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