mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-24 16:54:25 +01:00
Don't log nip05 cache
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user