summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/refresh.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-06 19:29:12 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-06 19:29:12 +0530
commitd0088323ce02c6cc2cbe1413eddb0b81f3f147f2 (patch)
tree432a86a8397a0e9e0454bd14783b246e8d0822ca /packages/taler-wallet-core/src/operations/refresh.ts
parent87749371dd6a8ca29d812d6f58cffa5feb6ec41c (diff)
downloadwallet-core-d0088323ce02c6cc2cbe1413eddb0b81f3f147f2.tar.gz
wallet-core-d0088323ce02c6cc2cbe1413eddb0b81f3f147f2.tar.bz2
wallet-core-d0088323ce02c6cc2cbe1413eddb0b81f3f147f2.zip
always update /keys before autorefreshv0.7.1-dev.28
Diffstat (limited to 'packages/taler-wallet-core/src/operations/refresh.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/refresh.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/operations/refresh.ts b/packages/taler-wallet-core/src/operations/refresh.ts
index 062a52e6d..a7082a501 100644
--- a/packages/taler-wallet-core/src/operations/refresh.ts
+++ b/packages/taler-wallet-core/src/operations/refresh.ts
@@ -678,6 +678,7 @@ export async function autoRefresh(
ws: InternalWalletState,
exchangeBaseUrl: string,
): Promise<void> {
+ await updateExchangeFromUrl(ws, exchangeBaseUrl, true);
await ws.db.runWithWriteTransaction(
[
Stores.coins,