From 8fa16fe91f2fc4f44775b38ec6c31fb6fe170ec1 Mon Sep 17 00:00:00 2001 From: Dong Lieu Date: Mon, 15 Jan 2024 15:34:22 +0700 Subject: [PATCH] lint --- x/multi-staking/keeper/store_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x/multi-staking/keeper/store_test.go b/x/multi-staking/keeper/store_test.go index 47a811c2..ce9f40aa 100644 --- a/x/multi-staking/keeper/store_test.go +++ b/x/multi-staking/keeper/store_test.go @@ -11,7 +11,7 @@ import ( func (suite *KeeperTestSuite) TestSetBondWeight() { suite.SetupTest() - gasDenom := "ario" + const gasDenom = "ario" govDenom := "arst" gasWeight := sdk.OneDec() govWeight := sdk.NewDecWithPrec(2, 4) @@ -114,12 +114,12 @@ func (suite *KeeperTestSuite) TestSetAndGetMultiStakingUnlock() { Entries: Entries, } - unLocks, found := suite.msKeeper.GetMultiStakingUnlock(suite.ctx, unLockID) + _, found := suite.msKeeper.GetMultiStakingUnlock(suite.ctx, unLockID) suite.Require().False(found) suite.msKeeper.SetMultiStakingUnlock(suite.ctx, mulStakingUnllock) - unLocks, found = suite.msKeeper.GetMultiStakingUnlock(suite.ctx, unLockID) + unLocks, found := suite.msKeeper.GetMultiStakingUnlock(suite.ctx, unLockID) suite.Require().True(found) suite.Require().Equal(unLocks.Entries[0].CreationHeight, Entries[0].CreationHeight)