Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Fix SignerEntry decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
donovanhide committed Jan 9, 2024
1 parent 5d1106b commit f99dee0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f99dee0

Please sign in to comment.