diff options
author | Florian Dold <florian@dold.me> | 2023-05-25 19:11:03 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-25 19:11:03 +0200 |
commit | 8624d798b799d78a4b6393493a0750027094904d (patch) | |
tree | 2ed70812786bc7fc28efb1879e7d13b44a6c0d22 /packages/taler-wallet-core/src/operations/pending.ts | |
parent | 485f7d3603bb3c9f563cf6c5fdaabdf474e9c4d5 (diff) |
wallet-core: fix issues with aborting deposits
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pending.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pending.ts | 5 |
1 files changed, 4 insertions, 1 deletions
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<void> { 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) { |