From d881f4fd258a27cc765a25c24e5fef9f86b6226f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 23 Mar 2022 21:24:23 +0100 Subject: wallet: simplify crypto workers --- packages/taler-wallet-cli/src/integrationtests/test-wallet-dbless.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages/taler-wallet-cli/src/integrationtests') diff --git a/packages/taler-wallet-cli/src/integrationtests/test-wallet-dbless.ts b/packages/taler-wallet-cli/src/integrationtests/test-wallet-dbless.ts index 146603f3a..d8abae136 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-wallet-dbless.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-wallet-dbless.ts @@ -20,7 +20,7 @@ import { j2s } from "@gnu-taler/taler-util"; import { checkReserve, - CryptoApi, + CryptoDispatcher, depositCoin, downloadExchangeInfo, findDenomOrThrow, @@ -44,7 +44,8 @@ export async function runWalletDblessTest(t: GlobalTestState) { const { bank, exchange } = await createSimpleTestkudosEnvironment(t); const http = new NodeHttpLib(); - const cryptoApi = new CryptoApi(new SynchronousCryptoWorkerFactory()); + const cryptiDisp = new CryptoDispatcher(new SynchronousCryptoWorkerFactory()); + const cryptoApi = cryptiDisp.cryptoApi; try { // Withdraw digital cash into the wallet. -- cgit v1.2.3