Remove TODO (#2854)

This commit is contained in:
eupn 2019-05-28 00:15:47 +07:00 committed by Quentin Le Sceller
parent 4b88a9b5bd
commit 7e57c10ec7

View file

@ -273,7 +273,6 @@ impl TransactionPool {
/// full the pool is and the transaction weight. /// full the pool is and the transaction weight.
fn is_acceptable(&self, tx: &Transaction, stem: bool) -> Result<(), PoolError> { fn is_acceptable(&self, tx: &Transaction, stem: bool) -> Result<(), PoolError> {
if self.total_size() > self.config.max_pool_size { if self.total_size() > self.config.max_pool_size {
// TODO evict old/large transactions instead
return Err(PoolError::OverCapacity); return Err(PoolError::OverCapacity);
} }