Update main.rs

[noci]
This commit is contained in:
Gav Wood 2016-03-12 19:19:16 +01:00
parent e1c0177932
commit 89986ec0e0

View File

@ -224,8 +224,14 @@ fn setup_log(init: &Option<String>) {
#[cfg(feature = "rpc")]
fn setup_rpc_server(
client: Arc<Client>, sync: Arc<EthSync>, secret_store: Arc<AccountService>, miner: Arc<Miner>,
url: &str, cors_domain: &str, apis: Vec<&str>) -> Option<Arc<PanicHandler>> {
client: Arc<Client>,
sync: Arc<EthSync>,
secret_store: Arc<AccountService>,
miner: Arc<Miner>,
url: &str,
cors_domain: &str,
apis: Vec<&str>
) -> Option<Arc<PanicHandler>> {
use rpc::v1::*;
let server = rpc::RpcServer::new();