don't fail with unknown fields on event.

This commit is contained in:
fiatjaf
2026-05-23 16:38:21 -03:00
parent 13813b502a
commit 8bc1d8ce7f
+2
View File
@@ -74,6 +74,8 @@ func easyjsonDecodeEvent(in *jlexer.Lexer, out *Event) {
if len(b) == 128 {
xhex.Decode(out.Sig[:], b)
}
default:
in.SkipRecursive()
}
in.WantComma()
}