diff --git a/baseapp/abci_utils.go b/baseapp/abci_utils.go index e07d5b19f73..2f0636e75e0 100644 --- a/baseapp/abci_utils.go +++ b/baseapp/abci_utils.go @@ -271,9 +271,7 @@ func (h *DefaultProposalHandler) PrepareProposalHandler() sdk.PrepareProposalHan } var txGasLimit uint64 - if gasTx, ok := tx.(interface { - GetGas() uint64 - }); ok { + if gasTx, ok := tx.(mempool.GasTx); ok { txGasLimit = gasTx.GetGas() }