This commit is contained in:
alex.sharov 2021-08-11 11:22:35 +07:00
parent d491e4c093
commit d9dae8199b

View File

@ -337,7 +337,6 @@ func (p *TxPool) OnNewBlock(tx kv.Tx, stateChanges map[string]senderInfo, unwind
} }
} }
/*
// evict sendersInfo without txs // evict sendersInfo without txs
if len(p.senderIDs) > MaxSendersInfoCache { if len(p.senderIDs) > MaxSendersInfoCache {
for i := range p.senderInfo { for i := range p.senderInfo {
@ -352,7 +351,6 @@ func (p *TxPool) OnNewBlock(tx kv.Tx, stateChanges map[string]senderInfo, unwind
delete(p.senderInfo, i) delete(p.senderInfo, i)
} }
} }
*/
return nil return nil
} }