From ef5df6f3fe2937e478ff7a2c4e870a3bc2934e61 Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Fri, 5 Apr 2019 12:20:22 -0600 Subject: [PATCH] Add server specification --- core/src/rpc.rs | 2 +- core/src/rpc_pubsub.rs | 2 +- vote-signer/src/rpc.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/rpc.rs b/core/src/rpc.rs index eff8736547..ddbc1b8128 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 73a3939a01..b6dc069a47 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 cf310d9eae..0509cea1c0 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;