diff options
Diffstat (limited to 'packages/taler-wallet-core/src/pay-peer-common.ts')
-rw-r--r-- | packages/taler-wallet-core/src/pay-peer-common.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/pay-peer-common.ts b/packages/taler-wallet-core/src/pay-peer-common.ts index efb5bdb7e..dbc3376b4 100644 --- a/packages/taler-wallet-core/src/pay-peer-common.ts +++ b/packages/taler-wallet-core/src/pay-peer-common.ts @@ -33,7 +33,7 @@ import type { SelectedPeerCoin } from "./coinSelection.js"; import { SpendCoinDetails } from "./crypto/cryptoImplementation.js"; import { PeerPushPaymentCoinSelection, ReserveRecord } from "./db.js"; import { getTotalRefreshCost } from "./refresh.js"; -import { InternalWalletState } from "./wallet.js"; +import { InternalWalletState, getDenomInfo } from "./wallet.js"; import { getCandidateWithdrawalDenomsTx } from "./withdraw.js"; /** @@ -50,7 +50,7 @@ export async function queryCoinInfosForSelection( if (!coin) { throw Error("coin not found anymore"); } - const denom = await ws.getDenomInfo( + const denom = await getDenomInfo( ws, tx, coin.exchangeBaseUrl, @@ -84,7 +84,7 @@ export async function getTotalPeerPaymentCost( if (!coin) { throw Error("can't calculate payment cost, coin not found"); } - const denomInfo = await ws.getDenomInfo( + const denomInfo = await getDenomInfo( ws, tx, coin.exchangeBaseUrl, |