deposit group fees
This commit is contained in:
parent
8da1843b82
commit
ed6bdfaef5
@ -20,14 +20,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Amounts, Balance } from "@gnu-taler/taler-util";
|
import { Amounts, Balance } from "@gnu-taler/taler-util";
|
||||||
import { DepositFee } from "@gnu-taler/taler-wallet-core/src/operations/deposits";
|
import { DepositGroupFees } from "@gnu-taler/taler-wallet-core/src/operations/deposits";
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
import { mountHook } from "../test-utils.js";
|
import { mountHook } from "../test-utils.js";
|
||||||
import { useComponentState } from "./DepositPage.js";
|
import { useComponentState } from "./DepositPage.js";
|
||||||
|
|
||||||
|
|
||||||
const currency = "EUR"
|
const currency = "EUR"
|
||||||
const feeCalculator = async (): Promise<DepositFee> => ({
|
const feeCalculator = async (): Promise<DepositGroupFees> => ({
|
||||||
coin: Amounts.parseOrThrow(`${currency}:1`),
|
coin: Amounts.parseOrThrow(`${currency}:1`),
|
||||||
wire: Amounts.parseOrThrow(`${currency}:1`),
|
wire: Amounts.parseOrThrow(`${currency}:1`),
|
||||||
refresh: Amounts.parseOrThrow(`${currency}:1`)
|
refresh: Amounts.parseOrThrow(`${currency}:1`)
|
||||||
|
Loading…
Reference in New Issue
Block a user