add state check assert routine

This commit is contained in:
alex.sharov 2021-08-27 09:10:56 +07:00
parent 4641ae3ade
commit 536234e0c3

View File

@ -1666,7 +1666,7 @@ func (p *TxPool) forceCheckState(ctx context.Context, db, coreDB kv.RoDB) error
if remoteProgress != p.senders.blockHeight.Load() { // skip
return nil
}
v2, err := coreTx.GetOne(kv.PooledSender, k)
v2, err := coreTx.GetOne(kv.PlainState, k)
if err != nil {
return err
}