aboutsummaryrefslogtreecommitdiff
path: root/src/headless/helpers.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-17 18:54:09 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-17 18:54:09 +0200
commitf7e118e996b333b6a34080243a2bf12a0af73e62 (patch)
tree6e2b7e1f15616acbafd746131dc0cdafcbd3bc3b /src/headless/helpers.ts
parentf18d70d0d18b1258ebf36dabb2025eaf181e8032 (diff)
downloadwallet-core-f7e118e996b333b6a34080243a2bf12a0af73e62.tar.xz
logging / bump version
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,
});