From 728ac80f9cc8a3268bdced6339f58936bd69648b Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 22 Dec 2022 09:51:53 -0800 Subject: prettier --- lib/nostr.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/nostr.js') diff --git a/lib/nostr.js b/lib/nostr.js index c75955bd..53c8d7d1 100644 --- a/lib/nostr.js +++ b/lib/nostr.js @@ -44,7 +44,10 @@ pool.on("event", async (relay, sub, ev) => { await redis.sAdd(pubkey, ev.id); await redis.set(`ev:${ev.id}`, JSON.stringify(ev)); - store.timeouts[pubkey] = setTimeout(() => (store.fetching[pubkey] = false), 100); + store.timeouts[pubkey] = setTimeout( + () => (store.fetching[pubkey] = false), + 100 + ); } } catch (e) { console.log(e); -- cgit v1.2.3