From 5315801b5131e2b3573dc98c895ad269ce4c0ec1 Mon Sep 17 00:00:00 2001 From: dongsam Date: Thu, 2 Sep 2021 15:17:13 +0900 Subject: [PATCH] fix: lint issue --- x/farming/types/genesis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/farming/types/genesis.go b/x/farming/types/genesis.go index 60cd97c0..3af6ee53 100644 --- a/x/farming/types/genesis.go +++ b/x/farming/types/genesis.go @@ -50,7 +50,7 @@ func ValidateGenesis(data GenesisState) error { return err } if plan.GetId() < id { - fmt.Errorf("pool records must be sorted") + return fmt.Errorf("pool records must be sorted") } plans = append(plans, plan) }