diff --git a/core/src/rpc.rs b/core/src/rpc.rs index eff873654..ddbc1b812 100644 --- a/core/src/rpc.rs +++ b/core/src/rpc.rs @@ -172,7 +172,7 @@ pub struct Meta { } impl Metadata for Meta {} -#[rpc] +#[rpc(server)] pub trait RpcSol { type Metadata; diff --git a/core/src/rpc_pubsub.rs b/core/src/rpc_pubsub.rs index 73a3939a0..b6dc069a4 100644 --- a/core/src/rpc_pubsub.rs +++ b/core/src/rpc_pubsub.rs @@ -13,7 +13,7 @@ use solana_sdk::signature::Signature; use std::mem; use std::sync::{atomic, Arc}; -#[rpc] +#[rpc(server)] pub trait RpcSolPubSub { type Metadata; diff --git a/vote-signer/src/rpc.rs b/vote-signer/src/rpc.rs index cf310d9ea..0509cea1c 100644 --- a/vote-signer/src/rpc.rs +++ b/vote-signer/src/rpc.rs @@ -59,7 +59,7 @@ pub struct Meta { } impl Metadata for Meta {} -#[rpc] +#[rpc(server)] pub trait VoteSignerRpc { type Metadata;