*Remove duplicate validation

This commit is contained in:
Derrick Hammer 2023-01-18 04:44:15 -05:00
parent d2e154efd2
commit e8f632299b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 5 deletions

View File

@ -34,11 +34,6 @@ async function handleDiscover(aq: ActiveQuery): Promise<void> {
return; return;
} }
if (!("pubkey" in aq.callerInput)) {
aq.reject("pubkey required");
return;
}
if ( if (
"options" in aq.callerInput && "options" in aq.callerInput &&
typeof aq.callerInput.options !== "object" typeof aq.callerInput.options !== "object"