aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-01-05 19:35:56 +0800
committerGav Wood <i@gavwood.com>2015-01-05 19:35:56 +0800
commit546717027f48be712a9111f20faa8ea7243e9225 (patch)
treebcc9a103b9ce1d3d78a164c8e420cfc689b6e907
parent566b980fa3efd4e7b930f44271ced446b401c456 (diff)
downloaddexon-solidity-546717027f48be712a9111f20faa8ea7243e9225.tar.gz
dexon-solidity-546717027f48be712a9111f20faa8ea7243e9225.tar.zst
dexon-solidity-546717027f48be712a9111f20faa8ea7243e9225.zip
BLOCKHASH
-rw-r--r--ExpressionCompiler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp
index cf641935..6bf14f55 100644
--- a/ExpressionCompiler.cpp
+++ b/ExpressionCompiler.cpp
@@ -344,9 +344,9 @@ void ExpressionCompiler::endVisit(MemberAccess const& _memberAccess)
m_context << eth::Instruction::COINBASE;
else if (member == "timestamp")
m_context << eth::Instruction::TIMESTAMP;
- else if (member == "prevhash")
- m_context << eth::Instruction::PREVHASH;
- else if (member == "difficulty")
+/* else if (member == "blockhash")
+ m_context << eth::Instruction::BLOCKHASH;
+*/ else if (member == "difficulty")
m_context << eth::Instruction::DIFFICULTY;
else if (member == "number")
m_context << eth::Instruction::NUMBER;