This commit is contained in:
alex.sharov 2021-08-16 09:36:34 +07:00
parent f74fc193ba
commit 75afb1f42e

View File

@ -234,6 +234,7 @@ func (p *TxPool) Started() bool {
}
func (p *TxPool) Add(coreDB kv.Tx, newTxs TxSlots) error {
log.Debug("[txpool.add]", "txs", len(newTxs.txs))
p.lock.Lock()
defer p.lock.Unlock()
if err := newTxs.Valid(); err != nil {