diff options
Diffstat (limited to 'src/headless')
-rw-r--r-- | src/headless/helpers.ts | 7 | ||||
-rw-r--r-- | src/headless/taler-wallet-cli.ts | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/headless/helpers.ts b/src/headless/helpers.ts index 5e06a2f25..a38ef1dbe 100644 --- a/src/headless/helpers.ts +++ b/src/headless/helpers.ts @@ -33,6 +33,7 @@ import * as amounts from "../amounts"; import { Bank } from "./bank"; import fs = require("fs"); +import { NodeCryptoWorkerFactory } from "../crypto/nodeProcessWorker"; const enableTracing = false; @@ -188,14 +189,16 @@ export async function getDefaultNodeWallet( myUnsupportedUpgrade, ); + const worker = new SynchronousCryptoWorkerFactory(); + //const worker = new NodeCryptoWorkerFactory(); + return new Wallet( myDb, myHttpLib, myBadge, myNotifier, - new SynchronousCryptoWorkerFactory(), + worker, ); - //const myWallet = new Wallet(myDb, myHttpLib, myBadge, myNotifier, new NodeCryptoWorkerFactory()); } export async function withdrawTestBalance( diff --git a/src/headless/taler-wallet-cli.ts b/src/headless/taler-wallet-cli.ts index bec098aca..90c04dd97 100644 --- a/src/headless/taler-wallet-cli.ts +++ b/src/headless/taler-wallet-cli.ts @@ -353,7 +353,6 @@ testCli default: "TESTKUDOS:4", }) .action(async args => { - console.log("parsed args", args); applyVerbose(args.wallet.verbose); let cmdObj = args.integrationtestCmd; |