From bacac7d0afd6f384bf82826df5d2ab3960ec5aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Thu, 21 Apr 2016 20:42:36 +0200 Subject: [PATCH] Fixing transaction_queue deadlock --- miner/src/miner.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miner/src/miner.rs b/miner/src/miner.rs index a45b34f85..1ee339f64 100644 --- a/miner/src/miner.rs +++ b/miner/src/miner.rs @@ -247,11 +247,11 @@ impl MinerService for Miner { match import { Ok(ref res) => { trace!(target: "own_tx", "Imported transaction to {:?} (hash: {:?})", res, hash); - trace!(target: "own_tx", "Status: {:?}", self.status()); + trace!(target: "own_tx", "Status: {:?}", self.transaction_queue.status()); }, Err(ref e) => { trace!(target: "own_tx", "Failed to import transaction {:?} (hash: {:?})", e, hash); - trace!(target: "own_tx", "Status: {:?}", self.status()); + trace!(target: "own_tx", "Status: {:?}", self.transaction_queue.status()); }, } import