summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/pending.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pending.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/pending.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/pending.ts b/packages/taler-wallet-core/src/operations/pending.ts
index e24e8fc4e..e51f37702 100644
--- a/packages/taler-wallet-core/src/operations/pending.ts
+++ b/packages/taler-wallet-core/src/operations/pending.ts
@@ -102,7 +102,13 @@ async function gatherExchangePending(
lastError: e.lastError,
reason: "scheduled",
});
- break;
+ }
+ if (e.details && (!e.nextRefreshCheck || e.nextRefreshCheck.t_ms < now.t_ms)) {
+ resp.pendingOperations.push({
+ type: PendingOperationType.ExchangeCheckRefresh,
+ exchangeBaseUrl: e.baseUrl,
+ givesLifeness: false,
+ });
}
break;
case ExchangeUpdateStatus.FetchKeys: