forked from TrueCloudLab/neoneo-go
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.
|
||||
func (pt *ParamType) MarshalYAML() (interface{}, error) {
|
||||
func (pt ParamType) MarshalYAML() (interface{}, error) {
|
||||
return pt.String(), nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue