aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/harness/helpers.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-09-21 17:56:29 +0200
committerFlorian Dold <florian@dold.me>2023-09-21 17:56:29 +0200
commit58debefbe0456ce203877f1cc417c42f4abb0685 (patch)
treeda8e0ffdca8825eb2a59c81b699fd3e6b2913037 /packages/taler-harness/src/harness/helpers.ts
parent0388d31d364139d0a3999126b06d8ac850117ab9 (diff)
wallet-core,harness: towards corebank API instead of fakebank/nexus API
Diffstat (limited to 'packages/taler-harness/src/harness/helpers.ts')
-rw-r--r--packages/taler-harness/src/harness/helpers.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-harness/src/harness/helpers.ts b/packages/taler-harness/src/harness/helpers.ts
index 9892e600b..0a864cad3 100644
--- a/packages/taler-harness/src/harness/helpers.ts
+++ b/packages/taler-harness/src/harness/helpers.ts
@@ -25,7 +25,7 @@
*/
import {
AmountString,
- BankAccessApiClient,
+ TalerCorebankApiClient,
ConfirmPayResultType,
Duration,
Logger,
@@ -560,7 +560,7 @@ export async function withdrawViaBankV2(
): Promise<WithdrawViaBankResult> {
const { walletClient: wallet, bank, exchange, amount } = p;
- const bankClient = new BankAccessApiClient(bank.bankAccessApiBaseUrl);
+ const bankClient = new TalerCorebankApiClient(bank.bankAccessApiBaseUrl);
const user = await bankClient.createRandomBankUser();
const wop = await bankClient.createWithdrawalOperation(user.username, amount);