mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-02-21 05:28:05 +00:00
Merge pull request #792 from nspcc-dev/fix/deploy
smartcontract: do not require pointer in MarshalYAML
This commit is contained in:
commit
4f26064aab
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ func (pt *ParamType) UnmarshalJSON(data []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalYAML implements the YAML Marshaler interface.
|
// MarshalYAML implements the YAML Marshaler interface.
|
||||||
func (pt *ParamType) MarshalYAML() (interface{}, error) {
|
func (pt ParamType) MarshalYAML() (interface{}, error) {
|
||||||
return pt.String(), nil
|
return pt.String(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue