Skip to content

Commit

Permalink
Merge pull request #70 from stevenroose/expose-jsonrpc
Browse files Browse the repository at this point in the history
Add getter to the internal jsonrpc client
  • Loading branch information
stevenroose committed Aug 13, 2019
2 parents 2a9a4a2 + 9767206 commit fa756c9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,11 @@ impl Client {
client: client,
}
}

/// Get the underlying JSONRPC client.
pub fn get_jsonrpc_client(&self) -> &jsonrpc::client::Client {
&self.client
}
}

impl RpcApi for Client {
Expand Down

0 comments on commit fa756c9

Please sign in to comment.