Merge PR #5268: fix IncrementSequenceDecorator gas estimate
This commit is contained in:
parent
3099b42aa1
commit
02c6c9fafd
|
@ -237,7 +237,7 @@ func NewIncrementSequenceDecorator(ak keeper.AccountKeeper) IncrementSequenceDec
|
|||
|
||||
func (isd IncrementSequenceDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) {
|
||||
// no need to increment sequence on CheckTx or RecheckTx
|
||||
if ctx.IsCheckTx() {
|
||||
if ctx.IsCheckTx() && !simulate {
|
||||
return next(ctx, tx, simulate)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue