mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
fix: remove broken client feature for pubsub (#189)
This commit is contained in:
@ -2,8 +2,7 @@ use jsonrpsee::proc_macros::rpc;
|
|||||||
use reth_rpc_types::pubsub::{Kind, Params};
|
use reth_rpc_types::pubsub::{Kind, Params};
|
||||||
|
|
||||||
/// Ethereum pub-sub rpc interface.
|
/// Ethereum pub-sub rpc interface.
|
||||||
#[cfg_attr(not(feature = "client"), rpc(server))]
|
#[rpc(server)]
|
||||||
#[cfg_attr(feature = "client", rpc(server, client))]
|
|
||||||
pub trait EthPubSubApi {
|
pub trait EthPubSubApi {
|
||||||
/// Create an ethereum subscription.
|
/// Create an ethereum subscription.
|
||||||
#[subscription(
|
#[subscription(
|
||||||
|
|||||||
Reference in New Issue
Block a user