From 3898208a6aad9f41b38eaca210c66178a38156f4 Mon Sep 17 00:00:00 2001 From: Omar Hatem Date: Tue, 22 Oct 2024 16:46:25 +0300 Subject: [PATCH] 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] --- cw_bitcoin/lib/electrum_wallet.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cw_bitcoin/lib/electrum_wallet.dart b/cw_bitcoin/lib/electrum_wallet.dart index 893cff6f2..4d127c248 100644 --- a/cw_bitcoin/lib/electrum_wallet.dart +++ b/cw_bitcoin/lib/electrum_wallet.dart @@ -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,