From b10a63b93238afb5ddea01de8c9d9bb4641b5c54 Mon Sep 17 00:00:00 2001 From: OFF0 Date: Sun, 27 Nov 2022 08:49:35 +0100 Subject: [PATCH] comment code about textNoteList and eventRelayMap --- src/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 66169c1..c882499 100644 --- a/src/main.js +++ b/src/main.js @@ -56,8 +56,8 @@ const subscription = pool.sub({ } }); -const textNoteList = []; -const eventRelayMap = {}; +const textNoteList = []; // could use indexDB +const eventRelayMap = {}; // eventId: [relay1, relay2] const hasEventTag = tag => tag[0] === 'e'; function handleTextNote(evt, relay) {