Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Jul 2, 2024
1 parent dd0f80e commit 3ae9d3b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions baseapp/abci_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit 3ae9d3b

Please sign in to comment.