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
6085ab63c4
commit
e3e4e5798c
@ -1122,11 +1122,11 @@ func (p *TxPool) flush(tx kv.RwTx, senders *SendersCache) (evicted uint64, err e
|
||||
copy(hashID[:], k)
|
||||
_, isLocalTx := p.localsHistory.Get(hashID)
|
||||
txs.isLocal[i] = isLocalTx
|
||||
i++
|
||||
|
||||
if !p.txNonce2Tx.has(newMetaTx(txs.txs[i], txs.isLocal[i])) {
|
||||
panic("aaaaaa")
|
||||
}
|
||||
i++
|
||||
return nil
|
||||
}); err != nil {
|
||||
panic(err)
|
||||
|
Loading…
Reference in New Issue
Block a user