aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-03-23 13:11:36 +0100
committerFlorian Dold <florian@dold.me>2022-03-23 13:11:36 +0100
commitc539d1803c1376cba0831be64866b6d2c1652403 (patch)
tree20104848bee6fff74ab40d0f8be646d63c6ef9d5 /packages/taler-wallet-cli
parent739c2f933770206b173a9b3cbafa79ee6048ff9d (diff)
wallet: address crypto worker hang and warning about worker termination
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r--packages/taler-wallet-cli/src/index.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts
index e7b76fa9e..0ed935a15 100644
--- a/packages/taler-wallet-cli/src/index.ts
+++ b/packages/taler-wallet-cli/src/index.ts
@@ -1124,7 +1124,9 @@ testCli.subcommand("tvgcheck", "tvgcheck").action(async (args) => {
testCli.subcommand("cryptoworker", "cryptoworker").action(async (args) => {
const workerFactory = new NodeThreadCryptoWorkerFactory();
const cryptoApi = new CryptoApi(workerFactory);
- const res = await cryptoApi.hashString("foo");
+ const input = "foo";
+ console.log(`testing crypto worker by hashing string '${input}'`);
+ const res = await cryptoApi.hashString(input);
console.log(res);
});