don't load everything on start

This commit is contained in:
alex.sharov 2021-08-26 18:00:36 +07:00
parent 1da85f4dc9
commit 7b3b6d1ac8

View File

@ -941,7 +941,6 @@ func (p *TxPool) flush(tx kv.RwTx, senders *SendersCache) error {
if currentV != nil && bytes.Equal(currentV, v) {
continue
}
fmt.Printf("put to db: %x\n", v[8+8:])
if err := tx.Put(kv.PooledTransaction, []byte(txHash), v); err != nil {
return err
}