From e8f632299b3afb0b8395ecc916131bf82842f2ae Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 18 Jan 2023 04:44:15 -0500 Subject: [PATCH] *Remove duplicate validation --- src/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/index.ts b/src/index.ts index d24ecbe..20175dd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -34,11 +34,6 @@ async function handleDiscover(aq: ActiveQuery): Promise { return; } - if (!("pubkey" in aq.callerInput)) { - aq.reject("pubkey required"); - return; - } - if ( "options" in aq.callerInput && typeof aq.callerInput.options !== "object"