Better logging when mining own transactions. (#9363)

This commit is contained in:
Tomasz Drwięga
2018-08-17 17:01:32 +02:00
committed by Andrew Jones
parent 18a8d2f67f
commit 346913b7f6
11 changed files with 102 additions and 24 deletions

View File

@@ -95,6 +95,7 @@ impl ClientService {
let pruning = config.pruning;
let client = Client::new(config, &spec, blockchain_db.clone(), miner.clone(), io_service.channel())?;
miner.set_io_channel(io_service.channel());
miner.set_in_chain_checker(&client.clone());
let snapshot_params = SnapServiceParams {
engine: spec.engine.clone(),