mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-08 03:51:20 +00:00
add state check assert routine
This commit is contained in:
parent
adaa3bb2ff
commit
001b298297
@ -1870,6 +1870,8 @@ func (p *TxPool) forceCheckState(ctx context.Context, db, coreDB kv.RoDB) error
|
|||||||
// for now skip this case because we do create
|
// for now skip this case because we do create
|
||||||
// account with 0 nonce and 0 balance for unknown senders (because
|
// account with 0 nonce and 0 balance for unknown senders (because
|
||||||
// they may become known in near future)
|
// they may become known in near future)
|
||||||
|
// But we need maybe store them as a thumbstone - to separate
|
||||||
|
// deleted accounts from not know
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if !bytes.Equal(v, v2) {
|
if !bytes.Equal(v, v2) {
|
||||||
|
Loading…
Reference in New Issue
Block a user