From f29bd31d338911115faed586586133d74895bbd1 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Fri, 27 Aug 2021 17:11:45 +0700 Subject: [PATCH] add state check assert routine --- txpool/pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/txpool/pool.go b/txpool/pool.go index 97daf8b3f..b7f9ad2aa 100644 --- a/txpool/pool.go +++ b/txpool/pool.go @@ -566,7 +566,7 @@ func (sc *SendersCache) flush(tx kv.RwTx, byNonce *ByNonce, sendersWithoutTransa if err != nil { return err } - if sc.commitID-binary.BigEndian.Uint64(k) < 2 { + if sc.commitID-binary.BigEndian.Uint64(k) < 5 { break } for i := 0; i < len(v); i += 8 {