mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-05 18:42:19 +00:00
add state check assert routine
This commit is contained in:
parent
d8ef509ab1
commit
c5cf532a2c
@ -617,6 +617,7 @@ func (sc *SendersCache) flush(tx kv.RwTx, byNonce *ByNonce, sendersWithoutTransa
|
||||
return evicted, err
|
||||
}
|
||||
}
|
||||
fmt.Printf("justDeleted:%d, justInserted:%d\n", justDeleted, justInserted)
|
||||
if ASSERT {
|
||||
_ = tx.ForEach(kv.PooledTransaction, nil, func(k, v []byte) error {
|
||||
vv, err := tx.GetOne(kv.PooledSenderIDToAdress, v[:8])
|
||||
|
Loading…
Reference in New Issue
Block a user