add state check assert routine

This commit is contained in:
alex.sharov 2021-08-27 16:41:57 +07:00
parent 380c68fae7
commit 8901748c36

View File

@ -588,7 +588,7 @@ func (sc *SendersCache) flush(tx kv.RwTx, byNonce *ByNonce, sendersWithoutTransa
if err != nil {
return err
}
if sc.commitID-binary.BigEndian.Uint64(k) < 10 {
if sc.commitID-binary.BigEndian.Uint64(k) < 3 {
break
}
for i := 0; i < len(v); i += 8 {