diff --git a/crates/net/rpc-api/src/eth_pubsub.rs b/crates/net/rpc-api/src/eth_pubsub.rs index 8e5b4a0e4..4f6966a35 100644 --- a/crates/net/rpc-api/src/eth_pubsub.rs +++ b/crates/net/rpc-api/src/eth_pubsub.rs @@ -2,8 +2,7 @@ use jsonrpsee::proc_macros::rpc; use reth_rpc_types::pubsub::{Kind, Params}; /// Ethereum pub-sub rpc interface. -#[cfg_attr(not(feature = "client"), rpc(server))] -#[cfg_attr(feature = "client", rpc(server, client))] +#[rpc(server)] pub trait EthPubSubApi { /// Create an ethereum subscription. #[subscription(