From 06030dc20c1b4cd173227dd07a9622412557b27d Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Thu, 9 Jul 2015 14:36:34 -0700 Subject: [PATCH] Avoid crash on rescue. --- libethereum/Client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethereum/Client.h b/libethereum/Client.h index d433ecb6d..5124f3778 100644 --- a/libethereum/Client.h +++ b/libethereum/Client.h @@ -220,7 +220,7 @@ public: /// Rewind to a prior head. void rewind(unsigned _n) { m_bc.rewind(_n); } /// Rescue the chain. - void rescue() { m_bc.rescue(m_stateDB); } + void rescue() { stopWorking(); m_bc.rescue(m_stateDB); } protected: /// InterfaceStub methods