mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
feat: emit new block events in --auto-mine (#2079)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
This commit is contained in:
@ -6,7 +6,7 @@ use reth_rpc_types::pubsub::{Params, SubscriptionKind};
|
||||
pub trait EthPubSubApi {
|
||||
/// Create an ethereum subscription for the given params
|
||||
#[subscription(
|
||||
name = "eth_subscribe",
|
||||
name = "eth_subscribe" => "eth_subscription",
|
||||
unsubscribe = "eth_unsubscribe",
|
||||
item = reth_rpc_types::pubsub::SubscriptionResult
|
||||
)]
|
||||
|
||||
Reference in New Issue
Block a user