From 6612e4bd172f4c3a16a5dc618f88b69104106339 Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Mon, 19 Jan 2015 15:34:15 +0100 Subject: [PATCH] Some addition to Solidity Execution Framework --- ExpressionCompiler.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp index b6a73a884..df90d0d9d 100644 --- a/ExpressionCompiler.cpp +++ b/ExpressionCompiler.cpp @@ -392,9 +392,7 @@ void ExpressionCompiler::endVisit(MemberAccess const& _memberAccess) m_context << eth::Instruction::COINBASE; else if (member == "timestamp") m_context << eth::Instruction::TIMESTAMP; -/* else if (member == "blockhash") - m_context << eth::Instruction::BLOCKHASH; -*/ else if (member == "difficulty") + else if (member == "difficulty") m_context << eth::Instruction::DIFFICULTY; else if (member == "number") m_context << eth::Instruction::NUMBER;