Fixing transaction_queue deadlock
This commit is contained in:
parent
5ccf653841
commit
bacac7d0af
@ -247,11 +247,11 @@ impl MinerService for Miner {
|
|||||||
match import {
|
match import {
|
||||||
Ok(ref res) => {
|
Ok(ref res) => {
|
||||||
trace!(target: "own_tx", "Imported transaction to {:?} (hash: {:?})", res, hash);
|
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) => {
|
Err(ref e) => {
|
||||||
trace!(target: "own_tx", "Failed to import transaction {:?} (hash: {:?})", e, hash);
|
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
|
import
|
||||||
|
Loading…
Reference in New Issue
Block a user