From 2632a40d42f5a8b5dafef2f1bc0babcf9128baeb Mon Sep 17 00:00:00 2001 From: arkpar Date: Thu, 13 Aug 2015 11:31:21 +0200 Subject: [PATCH] fixed block mining --- mix/MixClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix/MixClient.cpp b/mix/MixClient.cpp index 2d43ddc96..7d2125436 100644 --- a/mix/MixClient.cpp +++ b/mix/MixClient.cpp @@ -269,7 +269,7 @@ void MixClient::mine() RLPStream header; h.streamRLP(header); m_postMine.sealBlock(header.out()); - bc().import(m_postMine.blockData(), m_stateDB, (ImportRequirements::Everything & ~ImportRequirements::ValidSeal) != 0); + bc().import(m_postMine.blockData(), m_postMine.state().db(), (ImportRequirements::Everything & ~ImportRequirements::ValidSeal) != 0); m_postMine.sync(bc()); m_preMine = m_postMine; }