Checking every time we get earlier data, if all transactions have been fetched.
This commit is contained in:
parent
e6beb6fed1
commit
feca8b5807
1 changed files with 1 additions and 0 deletions
|
|
@ -269,6 +269,7 @@
|
||||||
if (getLatest) {
|
if (getLatest) {
|
||||||
txs = addLatestTransactions(wallet.id, cachedTxs, fetchedTxs);
|
txs = addLatestTransactions(wallet.id, cachedTxs, fetchedTxs);
|
||||||
} else {
|
} else {
|
||||||
|
allTransactionsFetched = false;
|
||||||
txs = addEarlyTransactions(wallet.id, cachedTxs, fetchedTxs);
|
txs = addEarlyTransactions(wallet.id, cachedTxs, fetchedTxs);
|
||||||
return cb(null, txs, allTransactionsFetched/*, hasAllTransactionsFetched(wallet.id, cachedTxs, fetchedTxs)*/);
|
return cb(null, txs, allTransactionsFetched/*, hasAllTransactionsFetched(wallet.id, cachedTxs, fetchedTxs)*/);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue