From 1a6e881f24083ca47f9fbe6fc3e08058eac48a3a Mon Sep 17 00:00:00 2001 From: brewmaster012 <> Date: Tue, 25 Jul 2023 10:57:20 -0500 Subject: [PATCH] make linter happy --- x/crosschain/keeper/utils.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/x/crosschain/keeper/utils.go b/x/crosschain/keeper/utils.go index d17dac9ba7..afb4628fc0 100644 --- a/x/crosschain/keeper/utils.go +++ b/x/crosschain/keeper/utils.go @@ -2,7 +2,6 @@ package keeper import ( "bytes" - "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" ) @@ -24,10 +23,3 @@ func IsBondedValidator(creator string, validators []stakingtypes.Validator) bool } return false } - -// func increasePrecision(i sdk.Uint) sdk.Uint { -// return i.Mul(sdk.NewUintFromString("1000000000000000000")) -// } -func reducePrecision(i sdk.Uint) sdk.Uint { - return i.Quo(math.NewUintFromString("1000000000000000000")) -}