ante: fix fee print error (#756)

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
AaronZgl 2021-01-29 13:16:37 +08:00 committed by GitHub
parent c95ad0432b
commit e1349e46a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,7 @@ func (emfd EthMempoolFeeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simula
if !ctx.MinGasPrices().IsZero() && !hasEnoughFees { if !ctx.MinGasPrices().IsZero() && !hasEnoughFees {
return ctx, sdkerrors.Wrap( return ctx, sdkerrors.Wrap(
sdkerrors.ErrInsufficientFee, sdkerrors.ErrInsufficientFee,
fmt.Sprintf("insufficient fee, got: %q required: %q", fee, ctx.MinGasPrices()), fmt.Sprintf("insufficient fee, got: %q required: %q", fee, minFees),
) )
} }