From 0df8050df88eb489d3e152d82dd4e9d32db8d1a2 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 30 Dec 2022 05:08:41 -0500 Subject: [PATCH] *don't process if data is over 48 bytes --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index f9be057..2c5ad5e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -103,6 +103,9 @@ const plugin: Plugin = { if (!verifyEntry(newEntry)) { return; } + if (newEntry.data.length > 48) { + return; + } let entry = (await getEntry(newEntry.pk)) as SignedRegistryEntry; async function setAndRespond() {