diff options
author | Florian Dold <florian@dold.me> | 2023-09-21 17:56:29 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-09-21 17:56:29 +0200 |
commit | 58debefbe0456ce203877f1cc417c42f4abb0685 (patch) | |
tree | da8e0ffdca8825eb2a59c81b699fd3e6b2913037 /packages/taler-wallet-core/src/dbless.ts | |
parent | 0388d31d364139d0a3999126b06d8ac850117ab9 (diff) | |
download | wallet-core-58debefbe0456ce203877f1cc417c42f4abb0685.tar.gz wallet-core-58debefbe0456ce203877f1cc417c42f4abb0685.tar.bz2 wallet-core-58debefbe0456ce203877f1cc417c42f4abb0685.zip |
wallet-core,harness: towards corebank API instead of fakebank/nexus API
Diffstat (limited to 'packages/taler-wallet-core/src/dbless.ts')
-rw-r--r-- | packages/taler-wallet-core/src/dbless.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/dbless.ts b/packages/taler-wallet-core/src/dbless.ts index 4d2fa5cd4..1684977d5 100644 --- a/packages/taler-wallet-core/src/dbless.ts +++ b/packages/taler-wallet-core/src/dbless.ts @@ -31,7 +31,7 @@ import { AmountJson, Amounts, AmountString, - BankAccessApiClient, + TalerCorebankApiClient, codecForAny, codecForBankWithdrawalOperationPostResponse, codecForBatchDepositSuccess, @@ -118,7 +118,7 @@ export async function topupReserveWithDemobank( args: TopupReserveWithDemobankArgs, ) { const { http, bankAccessApiBaseUrl, amount, exchangeInfo, reservePub } = args; - const bankClient = new BankAccessApiClient(bankAccessApiBaseUrl); + const bankClient = new TalerCorebankApiClient(bankAccessApiBaseUrl); const bankUser = await bankClient.createRandomBankUser(); const wopi = await bankClient.createWithdrawalOperation( bankUser.username, |