mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-04 01:54:28 +00:00
save
This commit is contained in:
parent
f74fc193ba
commit
75afb1f42e
@ -234,6 +234,7 @@ func (p *TxPool) Started() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (p *TxPool) Add(coreDB kv.Tx, newTxs TxSlots) error {
|
func (p *TxPool) Add(coreDB kv.Tx, newTxs TxSlots) error {
|
||||||
|
log.Debug("[txpool.add]", "txs", len(newTxs.txs))
|
||||||
p.lock.Lock()
|
p.lock.Lock()
|
||||||
defer p.lock.Unlock()
|
defer p.lock.Unlock()
|
||||||
if err := newTxs.Valid(); err != nil {
|
if err := newTxs.Valid(); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user