diff options
Diffstat (limited to 'src/headless/taler-wallet-cli.ts')
-rw-r--r-- | src/headless/taler-wallet-cli.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/headless/taler-wallet-cli.ts b/src/headless/taler-wallet-cli.ts index 0c6c2ba98..95ee40e7d 100644 --- a/src/headless/taler-wallet-cli.ts +++ b/src/headless/taler-wallet-cli.ts @@ -26,6 +26,7 @@ import URI = require("urijs"); import querystring = require("querystring"); import { CheckPaymentResponse } from "../talerTypes"; +import { NodeCryptoWorkerFactory } from "../crypto/cryptoApi"; const enableTracing = false; @@ -268,7 +269,7 @@ export async function main() { myUnsupportedUpgrade, ); - const myWallet = new Wallet(myDb, myHttpLib, myBadge, myNotifier); + const myWallet = new Wallet(myDb, myHttpLib, myBadge, myNotifier, new NodeCryptoWorkerFactory()); const reserveResponse = await myWallet.createReserve({ amount: amounts.parseOrThrow("TESTKUDOS:10.0"), |