Merge PR #5268: fix IncrementSequenceDecorator gas estimate

This commit is contained in:
Alexander Bezobchuk
2019-10-31 16:08:35 -04:00
committed by GitHub
parent 3099b42aa1
commit 02c6c9fafd
+1 -1
View File
@@ -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)
}