diff options
author | Florian Dold <florian@dold.me> | 2024-02-27 15:31:01 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-02-27 15:31:01 +0100 |
commit | f78d7dc613946b0316a559aa0161dd02b056b05d (patch) | |
tree | bcf37180afbd02d71e4faac896edcd0b18e2f4bb /packages/taler-wallet-core/src/deposits.ts | |
parent | 41f34031ae934e8c802cdbb73fffb5a39c9c6a68 (diff) | |
download | wallet-core-f78d7dc613946b0316a559aa0161dd02b056b05d.tar.xz |
-move function
Diffstat (limited to 'packages/taler-wallet-core/src/deposits.ts')
-rw-r--r-- | packages/taler-wallet-core/src/deposits.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/deposits.ts b/packages/taler-wallet-core/src/deposits.ts index ed8778368..9db8cfc27 100644 --- a/packages/taler-wallet-core/src/deposits.ts +++ b/packages/taler-wallet-core/src/deposits.ts @@ -109,7 +109,7 @@ import { notifyTransition, parseTransactionIdentifier, } from "./transactions.js"; -import { InternalWalletState } from "./wallet.js"; +import { InternalWalletState, getDenomInfo } from "./wallet.js"; import { getCandidateWithdrawalDenomsTx } from "./withdraw.js"; /** @@ -1527,7 +1527,7 @@ export async function getCounterpartyEffectiveDepositAmount( if (!coin) { throw Error("can't calculate deposit amount, coin not found"); } - const denom = await ws.getDenomInfo( + const denom = await getDenomInfo( ws, tx, coin.exchangeBaseUrl, @@ -1593,7 +1593,7 @@ async function getTotalFeesForDepositAmount( if (!coin) { throw Error("can't calculate deposit amount, coin not found"); } - const denom = await ws.getDenomInfo( + const denom = await getDenomInfo( ws, tx, coin.exchangeBaseUrl, |