diff --git a/parity/main.rs b/parity/main.rs index 7a92e5570..1bfd2ced1 100644 --- a/parity/main.rs +++ b/parity/main.rs @@ -445,7 +445,6 @@ impl Configuration { // Secret Store let account_service = Arc::new(AccountService::new()); - service.io().register_handler(account_service).expect("Error registering IO handler"); // Setup rpc if self.args.flag_jsonrpc || self.args.flag_rpc { @@ -581,7 +580,8 @@ impl IoHandler for ClientIoHandler { fn timeout(&self, _io: &IoContext, timer: TimerToken) { match timer { INFO_TIMER => { self.info.tick(&self.client, &self.sync); } - ACCOUNT_TICK_TIMER => { self.accounts.tick(); } + ACCOUNT_TICK_TIMER => { self.accounts.tick(); }, + _ => {} } } }