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-core/src/dbless.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/taler-wallet-core/src/dbless.ts') diff --git a/packages/taler-wallet-core/src/dbless.ts b/packages/taler-wallet-core/src/dbless.ts index 854a3ea09..ea5a42323 100644 --- a/packages/taler-wallet-core/src/dbless.ts +++ b/packages/taler-wallet-core/src/dbless.ts @@ -47,10 +47,10 @@ import { AbsoluteTime, UnblindedSignature, } from "@gnu-taler/taler-util"; +import { TalerCryptoInterface } from "./crypto/cryptoImplementation.js"; import { DenominationRecord } from "./db.js"; import { assembleRefreshRevealRequest, - CryptoApi, ExchangeInfo, getBankWithdrawalInfo, HttpRequestLibrary, @@ -149,7 +149,7 @@ export async function topupReserveWithDemobank( export async function withdrawCoin(args: { http: HttpRequestLibrary; - cryptoApi: CryptoApi; + cryptoApi: TalerCryptoInterface; reserveKeyPair: ReserveKeypair; denom: DenominationRecord; exchangeBaseUrl: string; @@ -212,7 +212,7 @@ export function findDenomOrThrow( export async function depositCoin(args: { http: HttpRequestLibrary; - cryptoApi: CryptoApi; + cryptoApi: TalerCryptoInterface; exchangeBaseUrl: string; coin: CoinInfo; amount: AmountString; @@ -263,7 +263,7 @@ export async function depositCoin(args: { export async function refreshCoin(req: { http: HttpRequestLibrary; - cryptoApi: CryptoApi; + cryptoApi: TalerCryptoInterface; oldCoin: CoinInfo; newDenoms: DenominationRecord[]; }): Promise { -- cgit v1.2.3