*don't process if data is over 48 bytes
This commit is contained in:
parent
d416966760
commit
0df8050df8
|
@ -103,6 +103,9 @@ const plugin: Plugin = {
|
||||||
if (!verifyEntry(newEntry)) {
|
if (!verifyEntry(newEntry)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (newEntry.data.length > 48) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
let entry = (await getEntry(newEntry.pk)) as SignedRegistryEntry;
|
let entry = (await getEntry(newEntry.pk)) as SignedRegistryEntry;
|
||||||
|
|
||||||
async function setAndRespond() {
|
async function setAndRespond() {
|
||||||
|
|
Reference in New Issue