diff options
-rw-r--r-- | src/headless/helpers.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/headless/helpers.ts b/src/headless/helpers.ts index aa6fa9751..67ba62df8 100644 --- a/src/headless/helpers.ts +++ b/src/headless/helpers.ts @@ -142,6 +142,7 @@ export async function withdrawTestBalance( bankBaseUrl = "https://bank.test.taler.net/", exchangeBaseUrl = "https://exchange.test.taler.net/", ): Promise<void> { + await myWallet.updateExchangeFromUrl(exchangeBaseUrl, true); const reserveResponse = await myWallet.acceptManualWithdrawal(exchangeBaseUrl, Amounts.parseOrThrow(amount)); const reservePub = reserveResponse.reservePub; |