From 8d021865c60e8caa3ef2125ffeca5e0928b6a3e9 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 7 May 2023 16:59:36 -0500 Subject: [PATCH] Don't log nip05 cache --- src/nip05.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/nip05.ts b/src/nip05.ts index 6f53225..1ea0e45 100644 --- a/src/nip05.ts +++ b/src/nip05.ts @@ -43,10 +43,7 @@ const nostrJsonSchema = z.object({ */ function lookupNip05Cached(value: string): Promise { const cached = nip05Cache.get(value); - if (cached !== undefined) { - console.log(`Using cached NIP-05 for ${value}`); - return cached; - } + if (cached !== undefined) return cached; console.log(`Looking up NIP-05 for ${value}`); const result = lookup(value);