remove double registration

This commit is contained in:
keorn 2016-12-09 11:05:44 +01:00
parent 42c34b5c1b
commit fb71caffbd
1 changed files with 0 additions and 3 deletions

View File

@ -215,9 +215,6 @@ pub fn execute(cmd: RunCmd, logger: Arc<RotatingLogger>) -> Result<(), String> {
// let the Engine access the accounts
spec.engine.register_account_provider(account_provider.clone());
// let the Engine access the accounts
spec.engine.register_account_provider(account_provider.clone());
// create miner
let miner = Miner::new(cmd.miner_options, cmd.gas_pricer.into(), &spec, Some(account_provider.clone()));
miner.set_author(cmd.miner_extras.author);