diff --git a/parity/dapps.rs b/parity/dapps.rs index 1646d7f35..986e3dd07 100644 --- a/parity/dapps.rs +++ b/parity/dapps.rs @@ -22,7 +22,7 @@ use ethsync::EthSync; use ethminer::{Miner, ExternalMiner}; use util::RotatingLogger; use util::panics::PanicHandler; -use util::keys::store::{AccountService}; +use util::keys::store::AccountService; use util::network_settings::NetworkSettings; use die::*; @@ -100,7 +100,7 @@ pub fn setup_dapps_server( server.add_delegate(NetClient::new(&deps.sync).to_delegate()); server.add_delegate(EthClient::new(&deps.client, &deps.sync, &deps.secret_store, &deps.miner, &deps.external_miner).to_delegate()); server.add_delegate(EthFilterClient::new(&deps.client, &deps.miner).to_delegate()); - server.add_delegate(PersonalClient::new(&deps.secret_store).to_delegate()); + server.add_delegate(PersonalClient::new(&deps.secret_store, &deps.client, &deps.miner).to_delegate()); server.add_delegate(EthcoreClient::new(&deps.miner, deps.logger.clone(), deps.settings.clone()).to_delegate()); let start_result = match auth { diff --git a/parity/rpc.rs b/parity/rpc.rs index e1782e9b6..60766263b 100644 --- a/parity/rpc.rs +++ b/parity/rpc.rs @@ -24,7 +24,7 @@ use ethsync::EthSync; use ethminer::{Miner, ExternalMiner}; use util::RotatingLogger; use util::panics::PanicHandler; -use util::keys::store::{AccountService}; +use util::keys::store::AccountService; use util::network_settings::NetworkSettings; use die::*; use jsonipc; @@ -106,7 +106,7 @@ fn setup_rpc_server(apis: Vec<&str>, deps: &Arc) -> Server { }, "personal" => { modules.insert("personal".to_owned(), "1.0".to_owned()); - server.add_delegate(PersonalClient::new(&deps.secret_store).to_delegate()) + server.add_delegate(PersonalClient::new(&deps.secret_store, &deps.client, &deps.miner).to_delegate()) }, "ethcore" => { modules.insert("ethcore".to_owned(), "1.0".to_owned());