aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-integrationtests/src/test-timetravel-autorefresh.ts2
-rw-r--r--packages/taler-integrationtests/src/test-timetravel-withdraw.ts1
-rw-r--r--packages/taler-wallet-core/src/operations/refresh.ts1
3 files changed, 4 insertions, 0 deletions
diff --git a/packages/taler-integrationtests/src/test-timetravel-autorefresh.ts b/packages/taler-integrationtests/src/test-timetravel-autorefresh.ts
index 2c9fdc60c..1f2202091 100644
--- a/packages/taler-integrationtests/src/test-timetravel-autorefresh.ts
+++ b/packages/taler-integrationtests/src/test-timetravel-autorefresh.ts
@@ -90,6 +90,8 @@ runTest(async (t: GlobalTestState) => {
merchant,
});
+ await wallet.runUntilDone();
+
let p: PendingOperationsResponse;
p = await wallet.getPendingOperations();
diff --git a/packages/taler-integrationtests/src/test-timetravel-withdraw.ts b/packages/taler-integrationtests/src/test-timetravel-withdraw.ts
index b25720c13..99c003999 100644
--- a/packages/taler-integrationtests/src/test-timetravel-withdraw.ts
+++ b/packages/taler-integrationtests/src/test-timetravel-withdraw.ts
@@ -51,6 +51,7 @@ runTest(async (t: GlobalTestState) => {
await exchange.stop();
exchange.setTimetravel(timetravelDuration);
+ await exchange.keyup();
await exchange.start();
await exchange.pingUntilAvailable();
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,