miner and client take spec reference (#1853)
* miner and client take spec reference * fix tests
This commit is contained in:
committed by
Gav Wood
parent
2f52425387
commit
e72fc5398a
@@ -193,6 +193,7 @@ impl Client {
|
||||
}
|
||||
|
||||
let engine = spec.engine.clone();
|
||||
|
||||
let block_queue = BlockQueue::new(config.queue, engine.clone(), message_channel.clone());
|
||||
let panic_handler = PanicHandler::new_in_arc();
|
||||
panic_handler.forward_from(&block_queue);
|
||||
|
||||
Reference in New Issue
Block a user