diff --git a/x/interchainstaking/keeper/deny_list.go b/x/interchainstaking/keeper/deny_list.go index 97e16df43..64da27c09 100644 --- a/x/interchainstaking/keeper/deny_list.go +++ b/x/interchainstaking/keeper/deny_list.go @@ -2,6 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/quicksilver-zone/quicksilver/x/interchainstaking/types" ) @@ -42,7 +43,6 @@ func (k *Keeper) GetDeniedValidatorInDenyList(ctx sdk.Context, chainID string, v } return val, true - } // RemoveValidatorFromDenyList removes a validator from the deny list. Panic if the validator is not in the deny list diff --git a/x/interchainstaking/types/error.go b/x/interchainstaking/types/error.go index 4c6d1b3c6..57f51b3ef 100644 --- a/x/interchainstaking/types/error.go +++ b/x/interchainstaking/types/error.go @@ -4,5 +4,7 @@ import ( "errors" ) -var ErrCoinAmountNil = errors.New("coin amount is nil") -var ErrValidatorAlreadyInDenyList = errors.New("validator already in deny list") +var ( + ErrCoinAmountNil = errors.New("coin amount is nil") + ErrValidatorAlreadyInDenyList = errors.New("validator already in deny list") +)