From 023bb84bdcfc3fdfff14f56ed87176091d455b14 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Fri, 24 Jul 2015 17:20:10 +0200 Subject: [PATCH] Fix getEthashWork. --- libethereum/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethereum/Client.cpp b/libethereum/Client.cpp index c477117b5..e730308ac 100644 --- a/libethereum/Client.cpp +++ b/libethereum/Client.cpp @@ -906,7 +906,7 @@ std::tuple EthashClient::getEthashWork() // otherwise, set this to true so that it gets prepped next time. m_remoteWorking = true; Ethash::BlockHeader bh = Ethash::BlockHeader(m_miningInfo); - return std::tuple(bh.boundary(), bh.hashWithout(), bh.seedHash()); + return std::tuple(bh.hashWithout(), bh.seedHash(), bh.boundary()); } bool EthashClient::submitEthashWork(h256 const& _mixHash, h64 const& _nonce)