Enable traces for DEV chain (#6949) (#7327)

This commit is contained in:
Nicolas Gotchac 2017-12-22 04:33:17 +01:00 committed by Svyatoslav Nikolsky
parent d5b81ead71
commit 276496fb4b

View File

@ -1855,7 +1855,7 @@ impl MiningBlockChainClient for Client {
let mut open_block = OpenBlock::new( let mut open_block = OpenBlock::new(
engine, engine,
self.factories.clone(), self.factories.clone(),
false, // TODO: this will need to be parameterised once we want to do immediate mining insertion. self.tracedb.read().tracing_enabled(),
self.state_db.lock().boxed_clone_canon(&h), self.state_db.lock().boxed_clone_canon(&h),
best_header, best_header,
self.build_last_hashes(h.clone()), self.build_last_hashes(h.clone()),