From 0ed443c10272d6f7b0c368733ddeaf90ca77f21e Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Fri, 16 Jan 2015 18:51:10 -0500 Subject: [PATCH] Fix release builds. --- libethereum/State.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethereum/State.cpp b/libethereum/State.cpp index 72a15b5d7..9ed9a3a3a 100644 --- a/libethereum/State.cpp +++ b/libethereum/State.cpp @@ -539,7 +539,7 @@ u256 State::enact(bytesConstRef _block, BlockChain const& _bc, bool _checkNonce) cwarn << TransactionReceipt(&b); } cwarn << "Recorded: " << m_currentBlock.receiptsRoot; - auto rs = _bc.receipts(bi.hash); + auto rs = _bc.receipts(m_currentBlock.hash); for (unsigned j = 0; j < rs.receipts.size(); ++j) { auto b = rs.receipts[j].rlp();