Initial build of server-side BeaconNodeService RPC

This commit is contained in:
Age Manning
2019-03-22 13:37:24 +11:00
parent 844fdc0fb9
commit ee6a0ccb92
4 changed files with 81 additions and 7 deletions

View File

@@ -61,7 +61,7 @@ impl<TClientType: ClientTypes> Client<TClientType> {
// spawn the RPC server
if config.rpc_conf.enabled {
rpc::start_server(&config.rpc_conf, &log);
rpc::start_server(&config.rpc_conf, beacon_chain.clone(), &log);
}
Ok(Client {