mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-26 19:42:23 +00:00
smartcontract: support JSON unmarshaling of Signature param
This commit is contained in:
parent
7eaeb18f18
commit
924d920423
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ func (p *Parameter) UnmarshalJSON(data []byte) (err error) {
|
|||
return
|
||||
}
|
||||
p.Value = boolean
|
||||
case ByteArrayType, PublicKeyType:
|
||||
case ByteArrayType, PublicKeyType, SignatureType:
|
||||
if err = json.Unmarshal(r.Value, &s); err != nil {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue