aboutsummaryrefslogtreecommitdiff
path: root/src/headless/helpers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/headless/helpers.ts')
-rw-r--r--src/headless/helpers.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/headless/helpers.ts b/src/headless/helpers.ts
index 0ac7accb6..5b26c6cea 100644
--- a/src/headless/helpers.ts
+++ b/src/headless/helpers.ts
@@ -149,7 +149,6 @@ export async function getDefaultNodeWallet(
}
myBackend.afterCommitCallback = async () => {
- console.log("in afterCommitCallback!");
const dbContent = myBackend.exportDump();
fs.writeFileSync(storagePath, JSON.stringify(dbContent, undefined, 2), { encoding: "utf-8" });
};
@@ -196,12 +195,12 @@ export async function getDefaultNodeWallet(
export async function withdrawTestBalance(
myWallet: Wallet,
- amount: string = "TESTKUDOS:10",
+ amount: string = "TESTKUDOS:1000",
bankBaseUrl: string = "https://bank.test.taler.net/",
exchangeBaseUrl: string = "https://exchange.test.taler.net/",
) {
const reserveResponse = await myWallet.createReserve({
- amount: amounts.parseOrThrow("TESTKUDOS:10.0"),
+ amount: amounts.parseOrThrow(amount),
exchange: exchangeBaseUrl,
});