don't bother assigning queue.
This commit is contained in:
parent
b667378820
commit
840f961dc2
@ -108,8 +108,7 @@ impl Miner {
|
|||||||
trace!(target: "miner", "prepare_sealing: entering");
|
trace!(target: "miner", "prepare_sealing: entering");
|
||||||
|
|
||||||
let (transactions, mut open_block) = {
|
let (transactions, mut open_block) = {
|
||||||
let queue = self.transaction_queue.lock().unwrap();
|
let transactions = {self.transaction_queue.lock().unwrap().top_transactions()};
|
||||||
let transactions = queue.top_transactions();
|
|
||||||
let mut sealing_work = self.sealing_work.lock().unwrap();
|
let mut sealing_work = self.sealing_work.lock().unwrap();
|
||||||
let best_hash = chain.best_block_header().sha3();
|
let best_hash = chain.best_block_header().sha3();
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user