Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ninabarbakadze committed Jan 17, 2024
1 parent a07b827 commit f65ce02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/ante/fee_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func CheckTxFeeWithGlobalMinGasPrices(ctx sdk.Context, tx sdk.Tx) (sdk.Coins, in

gasInt := sdk.NewIntFromUint64(gas)
minFee := globalMinGasPrice.MulInt(gasInt).TruncateInt()

// if min fee truncates to zero, set it to one
if minFee.LT(sdk.NewInt(appconsts.MinFee)) {
minFee = sdk.NewInt(appconsts.MinFee)
Expand Down
2 changes: 1 addition & 1 deletion pkg/appconsts/initial_consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const (
// GlobalMinGasPrice is used in the processProposal to ensure
// that all transactions have a gas price greater than or equal to this value.
GlobalMinGasPrice = DefaultMinGasPrice

// MinFee is the absolute minimum every transaction must pay.
MinFee = 1

Expand Down

0 comments on commit f65ce02

Please sign in to comment.