mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
Remove TODO (#2854)
This commit is contained in:
parent
4b88a9b5bd
commit
7e57c10ec7
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue