chore: remove redundant Send bounds for BlockReader types (#13452)

This commit is contained in:
Dan Cline
2024-12-19 12:57:13 +02:00
committed by GitHub
parent d5a096f52f
commit 2eecf75c35
4 changed files with 10 additions and 10 deletions

View File

@ -83,7 +83,7 @@ where
BlockBody = reth_primitives::BlockBody,
SignedTx = TransactionSigned,
>,
Client: StateProviderFactory + BlockReaderIdExt + ChainSpecProvider + Clone + Send + 'static,
Client: StateProviderFactory + BlockReaderIdExt + ChainSpecProvider + Clone + 'static,
P: TransactionPoolExt<Transaction: PoolTransaction<Consensus = TransactionSigned>> + 'static,
St: Stream<Item = CanonStateNotification<N>> + Send + Unpin + 'static,
Tasks: TaskSpawner + 'static,
@ -109,7 +109,7 @@ pub async fn maintain_transaction_pool<N, Client, P, St, Tasks>(
BlockBody = reth_primitives::BlockBody,
SignedTx = TransactionSigned,
>,
Client: StateProviderFactory + BlockReaderIdExt + ChainSpecProvider + Clone + Send + 'static,
Client: StateProviderFactory + BlockReaderIdExt + ChainSpecProvider + Clone + 'static,
P: TransactionPoolExt<Transaction: PoolTransaction<Consensus = TransactionSigned>> + 'static,
St: Stream<Item = CanonStateNotification<N>> + Send + Unpin + 'static,
Tasks: TaskSpawner + 'static,