Also apply fix to addLatestTransactions function
This commit is contained in:
parent
8039ea26da
commit
fb41fca601
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@
|
|||
|
||||
var overlappingTxFraction = overlappingTxsCount / Math.min(cachedTxs.length, PAGE_OVERLAP);
|
||||
|
||||
if (overlappingTxFraction >= MIN_KNOWN_TX_OVERLAP_FRACTION) { // We are good
|
||||
if (overlappingTxFraction >= MIN_KNOWN_TX_OVERLAP_FRACTION || (someTransactionsWereNew && overlappingTxsCount === 0)) { // We are good
|
||||
if (someTransactionsWereNew) {
|
||||
var allTxs = uniqueNewTxs.concat(cachedTxs);
|
||||
saveTxHistory(walletId, allTxs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue