Skip to content

Commit 1aa312c

Browse files
authored
chore(node): simplify EngineApiExt bounds by removing redundant constraints (#18905)
1 parent 273ee08 commit 1aa312c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

crates/node/builder/src/engine_api_ext.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use crate::rpc::EngineApiBuilder;
66
use eyre::Result;
77
use reth_node_api::{AddOnsContext, FullNodeComponents};
8-
use reth_rpc_api::IntoEngineApiRpcModule;
98

109
/// Provides access to an `EngineApi` instance with a callback
1110
#[derive(Debug)]
@@ -27,7 +26,7 @@ impl<N, B, F> EngineApiBuilder<N> for EngineApiExt<B, F>
2726
where
2827
B: EngineApiBuilder<N>,
2928
N: FullNodeComponents,
30-
B::EngineApi: IntoEngineApiRpcModule + Send + Sync + Clone + 'static,
29+
B::EngineApi: Clone,
3130
F: FnOnce(B::EngineApi) + Send + Sync + 'static,
3231
{
3332
type EngineApi = B::EngineApi;

0 commit comments

Comments
 (0)