diff --git a/libethereum/Client.cpp b/libethereum/Client.cpp index 34bbbfaf3..86b745141 100644 --- a/libethereum/Client.cpp +++ b/libethereum/Client.cpp @@ -269,9 +269,11 @@ void Client::killChain() { WriteGuard l(x_postMine); WriteGuard l2(x_preMine); + WriteGuard l3(x_working); m_preMine = State(); m_postMine = State(); + m_working = State(); m_stateDB = OverlayDB(); m_stateDB = State::openDB(Defaults::dbPath(), WithExisting::Kill); @@ -284,6 +286,7 @@ void Client::killChain() if (auto h = m_host.lock()) h->reset(); + startedWorking(); doWork(); startWorking();