add state check assert routine

This commit is contained in:
alex.sharov 2021-08-27 17:11:45 +07:00
parent 7636511c87
commit f29bd31d33

View File

@ -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 {