diff options
Diffstat (limited to 'packages/taler-wallet-core')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pending.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/operations/pending.ts b/packages/taler-wallet-core/src/operations/pending.ts index 20359624d..990d9a7b3 100644 --- a/packages/taler-wallet-core/src/operations/pending.ts +++ b/packages/taler-wallet-core/src/operations/pending.ts @@ -440,6 +440,12 @@ async function gatherPurchasePending( resp: PendingOperationsResponse, ): Promise<void> { await iterRecordsForPurchase(tx, { onlyState: "nonfinal" }, async (pr) => { + switch (pr.purchaseStatus) { + // These states are nonfinal but don't need any processing + case PurchaseStatus.DialogProposed: + case PurchaseStatus.DialogShared: + return; + } const opId = TaskIdentifiers.forPay(pr); const retryRecord = await tx.operationRetries.get(opId); const timestampDue = |