summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/coinSelection.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/coinSelection.test.ts')
-rw-r--r--packages/taler-wallet-core/src/coinSelection.test.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/packages/taler-wallet-core/src/coinSelection.test.ts b/packages/taler-wallet-core/src/coinSelection.test.ts
index 67cd08652..c7cb2857e 100644
--- a/packages/taler-wallet-core/src/coinSelection.test.ts
+++ b/packages/taler-wallet-core/src/coinSelection.test.ts
@@ -46,7 +46,6 @@ test("p2p: should select the coin", (t) => {
t.log(`tally before: ${j2s(tally)}`);
const coins = testing_selectGreedy(
{
- wireFeeAmortization: 1,
wireFeesPerExchange: {},
},
createCandidates([
@@ -71,8 +70,6 @@ test("p2p: should select the coin", (t) => {
denomPubHash: "hash0",
maxAge: 32,
contributions: [Amounts.parseOrThrow("LOCAL:2.1")],
- expireDeposit: inTheDistantFuture,
- expireWithdraw: inTheDistantFuture,
},
});
});
@@ -82,7 +79,6 @@ test("p2p: should select 3 coins", (t) => {
const tally = emptyTallyForPeerPayment(instructedAmount);
const coins = testing_selectGreedy(
{
- wireFeeAmortization: 1,
wireFeesPerExchange: {},
},
createCandidates([
@@ -106,8 +102,6 @@ test("p2p: should select 3 coins", (t) => {
Amounts.parseOrThrow("LOCAL:10"),
Amounts.parseOrThrow("LOCAL:0.3"),
],
- expireDeposit: inTheDistantFuture,
- expireWithdraw: inTheDistantFuture,
},
});
});
@@ -117,7 +111,6 @@ test("p2p: can't select since the instructed amount is too high", (t) => {
const tally = emptyTallyForPeerPayment(instructedAmount);
const coins = testing_selectGreedy(
{
- wireFeeAmortization: 1,
wireFeesPerExchange: {},
},
createCandidates([
@@ -148,7 +141,6 @@ test("pay: select one coin to pay with fee", (t) => {
} satisfies CoinSelectionTally;
const coins = testing_selectGreedy(
{
- wireFeeAmortization: 1,
wireFeesPerExchange: { "http://exchange.localhost/": exchangeWireFee },
},
createCandidates([
@@ -168,8 +160,6 @@ test("pay: select one coin to pay with fee", (t) => {
denomPubHash: "hash0",
maxAge: 32,
contributions: [Amounts.parseOrThrow("LOCAL:2.2")],
- expireDeposit: inTheDistantFuture,
- expireWithdraw: inTheDistantFuture,
},
});
@@ -282,7 +272,6 @@ test("p2p: regression STATER", (t) => {
const tally = emptyTallyForPeerPayment(instructedAmount);
const res = testing_selectGreedy(
{
- wireFeeAmortization: 1,
wireFeesPerExchange: {},
},
candidates as any,