From e1349e46a39f8deb6b50c854eb12b1179cd80006 Mon Sep 17 00:00:00 2001 From: AaronZgl Date: Fri, 29 Jan 2021 13:16:37 +0800 Subject: [PATCH] ante: fix fee print error (#756) Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> --- app/ante/eth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ante/eth.go b/app/ante/eth.go index a6549f71..5df2b524 100644 --- a/app/ante/eth.go +++ b/app/ante/eth.go @@ -119,7 +119,7 @@ func (emfd EthMempoolFeeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simula if !ctx.MinGasPrices().IsZero() && !hasEnoughFees { return ctx, sdkerrors.Wrap( sdkerrors.ErrInsufficientFee, - fmt.Sprintf("insufficient fee, got: %q required: %q", fee, ctx.MinGasPrices()), + fmt.Sprintf("insufficient fee, got: %q required: %q", fee, minFees), ) }