From f3179aa93489f73ee5d0c0312e4fa951918b130b Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Thu, 6 Aug 2015 11:15:57 +0200 Subject: [PATCH] Fix BadRoot exception. --- libethereum/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethereum/Client.cpp b/libethereum/Client.cpp index dbfc0e2bb..4a46c16ea 100644 --- a/libethereum/Client.cpp +++ b/libethereum/Client.cpp @@ -370,7 +370,7 @@ void Client::reopenChain(WithExisting _we) m_stateDB = State::openDB(Defaults::dbPath(), bc().genesisHash(), _we); m_preMine = bc().genesisBlock(m_stateDB); - m_postMine = Block(m_stateDB); + m_postMine = m_preMine; } if (auto h = m_host.lock())