Skip to content

Commit 719a41b

Browse files
fixup! feat(wallet): the wallet now only fetches UTXOs on tx history change
1 parent fd1136a commit 719a41b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/wallet/src/services/TransactionsTracker.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,10 @@ const findIntersectionAndUpdateTxStore = ({
201201

202202
// Fetching transactions from scratch, nothing else to do here.
203203
if (lowerBound === undefined) {
204-
if (newTransactions.length > 0) store.setAll(newTransactions);
204+
if (newTransactions.length > 0) {
205+
localTransactions = newTransactions;
206+
store.setAll(newTransactions);
207+
}
205208

206209
return newTransactions;
207210
}

0 commit comments

Comments
 (0)