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
f943cf959e
commit
92fbed3d72
@ -1007,7 +1007,7 @@ func (p *TxPool) flush(tx kv.RwTx, senders *SendersCache) error {
|
||||
}
|
||||
|
||||
counts := map[uint64]uint64{}
|
||||
tx.ForEach(kv.PooledSenderID, nil, func(k, v []byte) error {
|
||||
tx.ForEach(kv.PooledSenderIDToAdress, nil, func(k, v []byte) error {
|
||||
id := binary.BigEndian.Uint64(k)
|
||||
count := p.txNonce2Tx.count(id)
|
||||
_, ok := counts[count]
|
||||
|
Loading…
Reference in New Issue
Block a user