mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 19:26:37 +00:00
rename var
This commit is contained in:
parent
5e7bd0d8ae
commit
e14c362574
1 changed files with 2 additions and 2 deletions
|
@ -2011,7 +2011,7 @@ class BitcoinWallet extends CoinServiceAPI with WalletCache, WalletDB {
|
||||||
final List<isar_models.Address> allAddresses =
|
final List<isar_models.Address> allAddresses =
|
||||||
await _fetchAllOwnAddresses();
|
await _fetchAllOwnAddresses();
|
||||||
|
|
||||||
final Set<Map<String, dynamic>> allReceivingTxHashes =
|
final Set<Map<String, dynamic>> allTxHashes =
|
||||||
(await _fetchHistory(allAddresses.map((e) => e.value).toList()))
|
(await _fetchHistory(allAddresses.map((e) => e.value).toList()))
|
||||||
.toSet();
|
.toSet();
|
||||||
|
|
||||||
|
@ -2026,7 +2026,7 @@ class BitcoinWallet extends CoinServiceAPI with WalletCache, WalletDB {
|
||||||
|
|
||||||
final currentHeight = await chainHeight;
|
final currentHeight = await chainHeight;
|
||||||
|
|
||||||
for (final txHash in allReceivingTxHashes) {
|
for (final txHash in allTxHashes) {
|
||||||
final storedTx = await isar.transactions
|
final storedTx = await isar.transactions
|
||||||
.where()
|
.where()
|
||||||
.txidEqualTo(txHash["tx_hash"] as String)
|
.txidEqualTo(txHash["tx_hash"] as String)
|
||||||
|
|
Loading…
Reference in a new issue