From 1c7c291d69c88c47b0e0386e968e5e51eb5f0376 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sun, 16 Feb 2014 16:33:38 +0000 Subject: [PATCH] Immediate queueing of TXs. --- libethereum/Client.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libethereum/Client.cpp b/libethereum/Client.cpp index 3da330f6e..a22b10498 100644 --- a/libethereum/Client.cpp +++ b/libethereum/Client.cpp @@ -142,8 +142,11 @@ void Client::work() if (!m_doMine) m_mined = m_s; } - if (!m_doMine) - m_mined.sync(m_tq); + if (m_mined.sync(m_tq)) + { + changed = true; + m_miningStarted = true; + } } if (m_doMine)