Removing additional thread from JSON-RPC

This commit is contained in:
Tomasz Drwięga
2016-04-06 19:14:05 +02:00
committed by arkpar
parent 0abdcedc03
commit e6237ed05e
2 changed files with 2 additions and 20 deletions

View File

@@ -566,10 +566,8 @@ impl Configuration {
} else {
None
};
let rpc_handle = rpc_server.map(|server| {
panic_handler.forward_from(&server);
server
}).map(|server| {
let url = format!("{}:{}",
match self.args.flag_rpcaddr.as_ref().unwrap_or(&self.args.flag_jsonrpc_interface).as_str() {
"all" => "0.0.0.0",