diff --git a/types/result.go b/types/result.go index 38787e8eb5..29b607a298 100644 --- a/types/result.go +++ b/types/result.go @@ -230,8 +230,8 @@ func (r TxResponse) GetTx() Tx { return nil } -// WrapServiceResult wraps a result from a protobuf RPC service method call in -// a Result object or error. This method takes care of marshaling the res param to +// WrapServiceResult wraps a result from a protobuf RPC service method call (res proto.Message, err error) +// in a Result object or error. This method takes care of marshaling the res param to // protobuf and attaching any events on the ctx.EventManager() to the Result. func WrapServiceResult(ctx Context, res proto.Message, err error) (*Result, error) { if err != nil {