chore: add a few missing trait bounds (#8731)

This commit is contained in:
Matthias Seitz
2024-06-11 10:53:14 +02:00
committed by GitHub
parent 218526c1f9
commit e9d8cdab49
2 changed files with 10 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ mod pool;
/// - transaction pool
/// - network
/// - payload builder.
pub trait NodeComponents<NodeTypes: FullNodeTypes>: Clone + Send + Sync + 'static {
pub trait NodeComponents<NodeTypes: FullNodeTypes>: Clone + Unpin + Send + Sync + 'static {
/// The transaction pool of the node.
type Pool: TransactionPool + Unpin;