Skip to content

Commit

Permalink
Remove unnecessary solana_ prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyera Eulberg committed Aug 15, 2018
1 parent 408e7b0 commit 67bb13d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,19 @@ build_rpc_trait! {
pub trait RpcSol {
type Metadata;

#[rpc(meta, name = "solana_confirmTransaction")]
#[rpc(meta, name = "confirmTransaction")]
fn confirm_transaction(&self, Self::Metadata, String) -> Result<bool>;

#[rpc(meta, name = "solana_getBalance")]
#[rpc(meta, name = "getBalance")]
fn get_balance(&self, Self::Metadata, String) -> Result<(String, i64)>;

#[rpc(meta, name = "solana_getFinality")]
#[rpc(meta, name = "getFinality")]
fn get_finality(&self, Self::Metadata) -> Result<usize>;

#[rpc(meta, name = "solana_getLastId")]
#[rpc(meta, name = "getLastId")]
fn get_last_id(&self, Self::Metadata) -> Result<String>;

#[rpc(meta, name = "solana_getTransactionCount")]
#[rpc(meta, name = "getTransactionCount")]
fn get_transaction_count(&self, Self::Metadata) -> Result<u64>;

// #[rpc(meta, name = "solana_sendTransaction")]
Expand Down

0 comments on commit 67bb13d

Please sign in to comment.