forked from TrueCloudLab/neoneo-go
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
|
return
|
||||||
}
|
}
|
||||||
p.Value = boolean
|
p.Value = boolean
|
||||||
case ByteArrayType, PublicKeyType:
|
case ByteArrayType, PublicKeyType, SignatureType:
|
||||||
if err = json.Unmarshal(r.Value, &s); err != nil {
|
if err = json.Unmarshal(r.Value, &s); err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue