Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
brewmaster012 committed Jul 25, 2023
1 parent 3e5d6e7 commit 1a6e881
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions x/crosschain/keeper/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand All @@ -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"))
}

0 comments on commit 1a6e881

Please sign in to comment.