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> {
|
function lookupNip05Cached(value: string): Promise<string | null> {
|
||||||
const cached = nip05Cache.get(value);
|
const cached = nip05Cache.get(value);
|
||||||
if (cached !== undefined) {
|
if (cached !== undefined) return cached;
|
||||||
console.log(`Using cached NIP-05 for ${value}`);
|
|
||||||
return cached;
|
|
||||||
}
|
|
||||||
|
|
||||||
console.log(`Looking up NIP-05 for ${value}`);
|
console.log(`Looking up NIP-05 for ${value}`);
|
||||||
const result = lookup(value);
|
const result = lookup(value);
|
||||||
|
|
Loading…
Reference in New Issue