From d0088323ce02c6cc2cbe1413eddb0b81f3f147f2 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 6 Sep 2020 19:29:12 +0530 Subject: always update /keys before autorefresh --- packages/taler-wallet-core/src/operations/refresh.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/taler-wallet-core/src') 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 { + await updateExchangeFromUrl(ws, exchangeBaseUrl, true); await ws.db.runWithWriteTransaction( [ Stores.coins, -- cgit v1.2.3