diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-08-17 18:54:09 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-08-17 18:54:09 +0200 |
commit | f7e118e996b333b6a34080243a2bf12a0af73e62 (patch) | |
tree | 6e2b7e1f15616acbafd746131dc0cdafcbd3bc3b /src | |
parent | f18d70d0d18b1258ebf36dabb2025eaf181e8032 (diff) |
logging / bump version
Diffstat (limited to 'src')
-rw-r--r-- | src/headless/helpers.ts | 5 |
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, }); |