chore: pool type must be unpin (#7974)

This commit is contained in:
Roman Krasiuk
2024-04-29 23:45:43 +02:00
committed by GitHub
parent d9faaa80cf
commit 4c01856e6d

View File

@ -83,7 +83,7 @@ where
/// Encapsulates all types and components of the node.
pub trait FullNodeComponents: FullNodeTypes + 'static {
/// The transaction pool of the node.
type Pool: TransactionPool;
type Pool: TransactionPool + Unpin;
/// Returns the transaction pool of the node.
fn pool(&self) -> &Self::Pool;