diff options
author | Sebastian <sebasjm@gmail.com> | 2022-05-18 15:57:10 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-05-18 15:57:10 -0300 |
commit | 5595e942b44135e11af85d6a4e633239a3a8997f (patch) | |
tree | ff2773d2f29290fc1819f766315b87c6a3f24dfd /packages/taler-wallet-core/src/operations/refresh.ts | |
parent | 145714b335be7896501afe21cb8c7419c1e9cb83 (diff) | |
download | wallet-core-5595e942b44135e11af85d6a4e633239a3a8997f.tar.xz |
fix: update retry info before return
Diffstat (limited to 'packages/taler-wallet-core/src/operations/refresh.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/refresh.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/operations/refresh.ts b/packages/taler-wallet-core/src/operations/refresh.ts index ce8fd003a..0dfcef427 100644 --- a/packages/taler-wallet-core/src/operations/refresh.ts +++ b/packages/taler-wallet-core/src/operations/refresh.ts @@ -1022,6 +1022,8 @@ export async function autoRefresh( exchangeBaseUrl: string, ): Promise<void> { logger.info(`doing auto-refresh check for '${exchangeBaseUrl}'`); + + //updateExchangeFromUrl will also update retryInfo for this operation await updateExchangeFromUrl(ws, exchangeBaseUrl, { forceNow: true, }); |