From e14c36257450a509408b5e33b15ae5f4f6345907 Mon Sep 17 00:00:00 2001 From: julian Date: Fri, 13 Jan 2023 14:59:47 -0600 Subject: [PATCH] rename var --- lib/services/coins/bitcoin/bitcoin_wallet.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/coins/bitcoin/bitcoin_wallet.dart b/lib/services/coins/bitcoin/bitcoin_wallet.dart index 73a9808c5..f0ece7dc4 100644 --- a/lib/services/coins/bitcoin/bitcoin_wallet.dart +++ b/lib/services/coins/bitcoin/bitcoin_wallet.dart @@ -2011,7 +2011,7 @@ class BitcoinWallet extends CoinServiceAPI with WalletCache, WalletDB { final List allAddresses = await _fetchAllOwnAddresses(); - final Set> allReceivingTxHashes = + final Set> allTxHashes = (await _fetchHistory(allAddresses.map((e) => e.value).toList())) .toSet(); @@ -2026,7 +2026,7 @@ class BitcoinWallet extends CoinServiceAPI with WalletCache, WalletDB { final currentHeight = await chainHeight; - for (final txHash in allReceivingTxHashes) { + for (final txHash in allTxHashes) { final storedTx = await isar.transactions .where() .txidEqualTo(txHash["tx_hash"] as String)