mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: pool type must be unpin (#7974)
This commit is contained in:
@ -83,7 +83,7 @@ where
|
|||||||
/// Encapsulates all types and components of the node.
|
/// Encapsulates all types and components of the node.
|
||||||
pub trait FullNodeComponents: FullNodeTypes + 'static {
|
pub trait FullNodeComponents: FullNodeTypes + 'static {
|
||||||
/// The transaction pool of the node.
|
/// The transaction pool of the node.
|
||||||
type Pool: TransactionPool;
|
type Pool: TransactionPool + Unpin;
|
||||||
|
|
||||||
/// Returns the transaction pool of the node.
|
/// Returns the transaction pool of the node.
|
||||||
fn pool(&self) -> &Self::Pool;
|
fn pool(&self) -> &Self::Pool;
|
||||||
|
|||||||
Reference in New Issue
Block a user