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
+2 -2
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,