don't fail with unknown fields on event.
This commit is contained in:
@@ -74,6 +74,8 @@ func easyjsonDecodeEvent(in *jlexer.Lexer, out *Event) {
|
|||||||
if len(b) == 128 {
|
if len(b) == 128 {
|
||||||
xhex.Decode(out.Sig[:], b)
|
xhex.Decode(out.Sig[:], b)
|
||||||
}
|
}
|
||||||
|
default:
|
||||||
|
in.SkipRecursive()
|
||||||
}
|
}
|
||||||
in.WantComma()
|
in.WantComma()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user