lint: cleanup branch lint errors (#7238)

This commit is contained in:
Sam Kleinman
2021-11-04 07:44:13 -04:00
committed by GitHub
parent 8629d31de3
commit 003d15fa4b
18 changed files with 25 additions and 17 deletions
+2 -2
View File
@@ -195,8 +195,8 @@ func (state *State) ToProto() (*tmstate.State, error) {
return sm, nil
}
// StateFromProto takes a state proto message & returns the local state type
func StateFromProto(pb *tmstate.State) (*State, error) { //nolint:golint
// FromProto takes a state proto message & returns the local state type
func FromProto(pb *tmstate.State) (*State, error) { //nolint:golint
if pb == nil {
return nil, errors.New("nil State")
}