aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/pending.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-10-05 18:31:56 +0200
committerFlorian Dold <florian@dold.me>2022-10-05 18:31:56 +0200
commit957f9a5efb26194a7911cdaf722502ba09e5bd58 (patch)
treed7edfb20814d8f9cf418457de0a3ff86c7690308 /packages/taler-wallet-core/src/operations/pending.ts
parent99ace8b7d24416f2b184d66006c89b61935e132e (diff)
downloadwallet-core-957f9a5efb26194a7911cdaf722502ba09e5bd58.tar.xz
wallet-core: fix default auditor/exchange loading logic
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pending.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/pending.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/operations/pending.ts b/packages/taler-wallet-core/src/operations/pending.ts
index 0dcd09e25..156feadbb 100644
--- a/packages/taler-wallet-core/src/operations/pending.ts
+++ b/packages/taler-wallet-core/src/operations/pending.ts
@@ -50,6 +50,7 @@ async function gatherExchangePending(
now: AbsoluteTime,
resp: PendingOperationsResponse,
): Promise<void> {
+ // FIXME: We should do a range query here based on the update time.
await tx.exchanges.iter().forEachAsync(async (exch) => {
const opTag = RetryTags.forExchangeUpdate(exch);
let opr = await tx.operationRetries.get(opTag);