Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
Signed-off-by: Yaru Wang <[email protected]>
  • Loading branch information
Yaru Wang committed Mar 23, 2023
1 parent 81d7e49 commit c6bde62
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion x/globalfee/ante/antetest/fee_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,6 @@ func (s *IntegrationTestSuite) TestGlobalFeeMinimumGasFeeAnteHandler() {
// This sanitizing happens when the minGasPrice is set into the context.
// (see baseapp.SetMinGasPrices in gaia/cmd/root.go line 221)
func (s *IntegrationTestSuite) TestGetMinGasPrice() {

expCoins := sdk.Coins{
sdk.NewCoin("photon", sdk.NewInt(2000)),
sdk.NewCoin("uatom", sdk.NewInt(3000)),
Expand Down
2 changes: 1 addition & 1 deletion x/globalfee/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (coins DecCoins) Validate() error {
if err := sdk.ValidateDenom(coin.Denom); err != nil {
return err
}
// skip the denom order check for the first denom in the coins list
// skip the denom order check for the first denom in the coins list
if i != 0 && coin.Denom <= lowDenom {
return fmt.Errorf("denomination %s is not sorted", coin.Denom)
}
Expand Down

0 comments on commit c6bde62

Please sign in to comment.