From f78d7dc613946b0316a559aa0161dd02b056b05d Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 27 Feb 2024 15:31:01 +0100 Subject: -move function --- packages/taler-wallet-core/src/pay-merchant.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'packages/taler-wallet-core/src/pay-merchant.ts') diff --git a/packages/taler-wallet-core/src/pay-merchant.ts b/packages/taler-wallet-core/src/pay-merchant.ts index 8fcb728d4..332660ad5 100644 --- a/packages/taler-wallet-core/src/pay-merchant.ts +++ b/packages/taler-wallet-core/src/pay-merchant.ts @@ -138,7 +138,11 @@ import { notifyTransition, parseTransactionIdentifier, } from "./transactions.js"; -import { EXCHANGE_COINS_LOCK, InternalWalletState } from "./wallet.js"; +import { + EXCHANGE_COINS_LOCK, + getDenomInfo, + InternalWalletState, +} from "./wallet.js"; import { getCandidateWithdrawalDenomsTx } from "./withdraw.js"; /** @@ -2959,7 +2963,7 @@ async function computeRefreshRequest( if (!coin) { throw Error("coin not found"); } - const denomInfo = await ws.getDenomInfo( + const denomInfo = await getDenomInfo( ws, tx, coin.exchangeBaseUrl, -- cgit v1.2.3