diff options
author | Florian Dold <florian@dold.me> | 2020-12-16 17:59:04 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2020-12-16 17:59:04 +0100 |
commit | bafb52edff4d56bcb9e3c3d0a260f507c517b08c (patch) | |
tree | 09b484a8cedc9893f5ea7593a98fadde075eafa3 /packages/taler-wallet-core/src/operations/withdraw-test.ts | |
parent | c09c5bbe625566fc61c811160d2ccdab263327fa (diff) | |
download | wallet-core-bafb52edff4d56bcb9e3c3d0a260f507c517b08c.tar.xz |
don't store reserve history anymore, adjust withdrawal implementation accordingly
Diffstat (limited to 'packages/taler-wallet-core/src/operations/withdraw-test.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/withdraw-test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/withdraw-test.ts b/packages/taler-wallet-core/src/operations/withdraw-test.ts index 24cb6f4b1..d21119c8c 100644 --- a/packages/taler-wallet-core/src/operations/withdraw-test.ts +++ b/packages/taler-wallet-core/src/operations/withdraw-test.ts @@ -15,7 +15,7 @@ */ import test from "ava"; -import { getWithdrawDenomList } from "./withdraw"; +import { selectWithdrawalDenominations } from "./withdraw"; import { Amounts } from "../util/amounts"; test("withdrawal selection bug repro", (t) => { @@ -322,7 +322,7 @@ test("withdrawal selection bug repro", (t) => { }, ]; - const res = getWithdrawDenomList(amount, denoms); + const res = selectWithdrawalDenominations(amount, denoms); console.error("cost", Amounts.stringify(res.totalWithdrawCost)); console.error("withdraw amount", Amounts.stringify(amount)); |