diff --git a/pkg/smartcontract/param_type.go b/pkg/smartcontract/param_type.go index a1082e99e..7623aa5d1 100644 --- a/pkg/smartcontract/param_type.go +++ b/pkg/smartcontract/param_type.go @@ -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 }