diff --git a/src/nostr/client.ts b/src/nostr/client.ts index 8707cb65526fb8bcbde617333f86adb851481c7d..88a94d76f0ba063f25903d93a1b5b4d78657d3ad 100644 --- a/src/nostr/client.ts +++ b/src/nostr/client.ts @@ -45,8 +45,11 @@ function getEvent(filter: Filter, signal?: AbortSignal): Promise { + // No matches found + resolve(null); + }, { unsubscribeOnEose: true }, ); });