add state check assert routine

This commit is contained in:
alex.sharov 2021-08-27 09:49:58 +07:00
parent 993265011f
commit f160918baa

View File

@ -786,6 +786,7 @@ func (p *TxPool) logStats(tx kv.Tx) error {
p.pending.Len(), PendingSubPoolLimit, p.baseFee.Len(), BaseFeeSubPoolLimit, p.queued.Len(), QueuedSubPoolLimit, p.pending.Len(), PendingSubPoolLimit, p.baseFee.Len(), BaseFeeSubPoolLimit, p.queued.Len(), QueuedSubPoolLimit,
idsInMem, idsInDb, infoInMem, infoInDb, idsInMem, idsInDb, infoInMem, infoInDb,
)) ))
return nil
} }
func (p *TxPool) GetRlp(tx kv.Tx, hash []byte) ([]byte, error) { func (p *TxPool) GetRlp(tx kv.Tx, hash []byte) ([]byte, error) {
p.lock.RLock() p.lock.RLock()