From aaf950e2ad5c07d4423f9822e3a0ae9f7b8d2bdf Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 30 Mar 2020 16:09:32 +0530 Subject: re-format with prettier v2, fix HTML --- src/headless/helpers.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/headless/helpers.ts') diff --git a/src/headless/helpers.ts b/src/headless/helpers.ts index dc56a9876..fb3d800d4 100644 --- a/src/headless/helpers.ts +++ b/src/headless/helpers.ts @@ -120,7 +120,9 @@ export async function getDefaultNodeWallet( require("worker_threads"); workerFactory = new NodeThreadCryptoWorkerFactory(); } catch (e) { - console.log("worker threads not available, falling back to synchronous workers"); + console.log( + "worker threads not available, falling back to synchronous workers", + ); workerFactory = new SynchronousCryptoWorkerFactory(); } @@ -161,7 +163,7 @@ export async function withdrawTestBalance( myWallet.runRetryLoop().catch((x) => { reject(x); }); - myWallet.addNotificationListener(n => { + myWallet.addNotificationListener((n) => { if ( n.type === NotificationType.ReserveDepleted && n.reservePub === reservePub -- cgit v1.2.3