mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 11:32:20 +00:00
add state check assert routine
This commit is contained in:
parent
fbe84f8d5f
commit
0e036160c3
@ -565,6 +565,9 @@ func (sc *SendersCache) flush(tx kv.RwTx, byNonce *ByNonce) error {
|
||||
if _, ok := sc.senderIDs[string(addr)]; ok {
|
||||
return nil
|
||||
}
|
||||
if _, ok := sc.senderInfo[binary.BigEndian.Uint64(id)]; ok {
|
||||
return nil
|
||||
}
|
||||
if byNonce.count(binary.BigEndian.Uint64(id)) > 0 {
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user