taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 26590fbae822733556cb1011b5b6e0eea1d23d9e
parent 426e2f3170de3ed41fa857661753435bd962b746
Author: Florian Dold <florian@dold.me>
Date:   Mon,  5 Feb 2024 12:08:55 +0100

harness: coin gen without fees

Diffstat:
Mpackages/taler-harness/src/index.ts | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/packages/taler-harness/src/index.ts b/packages/taler-harness/src/index.ts @@ -830,6 +830,7 @@ deploymentCli .requiredOption("maxAmount", ["--max-amount"], clk.STRING, { help: "Largest denomination", }) + .flag("noFees", ["--no-fees"]) .action(async (args) => { let out = ""; @@ -856,7 +857,11 @@ deploymentCli out += `DURATION_SPEND = 2 years\n`; out += `DURATION_LEGAL = 6 years\n`; out += `FEE_WITHDRAW = ${currency}:0\n`; - out += `FEE_DEPOSIT = ${Amounts.stringify(min)}\n`; + if (args.coincfg.noFees) { + out += `FEE_DEPOSIT = ${currency}:0\n`; + } else { + out += `FEE_DEPOSIT = ${Amounts.stringify(min)}\n`; + } out += `FEE_REFRESH = ${currency}:0\n`; out += `FEE_REFUND = ${currency}:0\n`; out += `RSA_KEYSIZE = 2048\n`;