Skip to content

Commit b45a459

Browse files
committed
fix cosmos#6287 sending multiple transactions from an account make nonce sequence stuck
1 parent 9828071 commit b45a459

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

x/auth/ante/sigverify.go

-4
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,6 @@ func NewIncrementSequenceDecorator(ak AccountKeeper) IncrementSequenceDecorator
235235
}
236236

237237
func (isd IncrementSequenceDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) {
238-
// no need to increment sequence on RecheckTx
239-
if ctx.IsReCheckTx() && !simulate {
240-
return next(ctx, tx, simulate)
241-
}
242238

243239
sigTx, ok := tx.(SigVerifiableTx)
244240
if !ok {

0 commit comments

Comments
 (0)