From 8624d798b799d78a4b6393493a0750027094904d Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 25 May 2023 19:11:03 +0200 Subject: wallet-core: fix issues with aborting deposits --- packages/taler-wallet-core/src/operations/pending.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packages/taler-wallet-core/src/operations/pending.ts') diff --git a/packages/taler-wallet-core/src/operations/pending.ts b/packages/taler-wallet-core/src/operations/pending.ts index 25d58d8e6..54b12383b 100644 --- a/packages/taler-wallet-core/src/operations/pending.ts +++ b/packages/taler-wallet-core/src/operations/pending.ts @@ -198,7 +198,10 @@ async function gatherDepositPending( resp: PendingOperationsResponse, ): Promise { const dgs = await tx.depositGroups.indexes.byStatus.getAll( - OperationStatus.Pending, + GlobalIDB.KeyRange.bound( + OperationStatusRange.ACTIVE_START, + OperationStatusRange.ACTIVE_END, + ), ); for (const dg of dgs) { if (dg.timestampFinished) { -- cgit v1.2.3