From f99dee0aa0f3d322cf14545ae7df2093a5604577 Mon Sep 17 00:00:00 2001 From: Donovan Hide Date: Tue, 9 Jan 2024 13:11:16 +0000 Subject: [PATCH] Fix SignerEntry decoding --- data/decoder.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/decoder.go b/data/decoder.go index beea34e..9e8dd10 100644 --- a/data/decoder.go +++ b/data/decoder.go @@ -287,10 +287,10 @@ func readObject(r Reader, v *reflect.Value) error { v.Set(e.Elem()) return readObject(r, &n) case "SignerEntry": - var signerEntry SignerEntry + var signerEntry SignerEntryItem s := reflect.ValueOf(&signerEntry) err := readObject(r, &s) - v.Set(s.Elem()) + v.FieldByName("SignerEntry").Set(s.Elem()) return err case "NFToken": var nft NFToken