Don't log nip05 cache
This commit is contained in:
parent
1271e36f7e
commit
8d021865c6
|
@ -43,10 +43,7 @@ const nostrJsonSchema = z.object({
|
|||
*/
|
||||
function lookupNip05Cached(value: string): Promise<string | null> {
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue