This commit is contained in:
alex.sharov 2021-08-11 11:23:48 +07:00
parent d9dae8199b
commit 7a48420c8f

View File

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