mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: add convenience trait bounds (#5131)
This commit is contained in:
@ -41,7 +41,7 @@ impl<T> FullProvider for T where
|
||||
}
|
||||
|
||||
/// The trait that is implemented for the Node command.
|
||||
pub trait RethNodeComponents {
|
||||
pub trait RethNodeComponents: Clone + Send + Sync + 'static {
|
||||
/// The Provider type that is provided by the not itself
|
||||
type Provider: FullProvider;
|
||||
/// The transaction pool type
|
||||
|
||||
Reference in New Issue
Block a user