From 3653cba8c53f42cdf81fe43c9170f22975c13b87 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 3 Sep 2014 09:45:12 +0200 Subject: [PATCH] Fix block gas limit. --- libethereum/Executive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethereum/Executive.cpp b/libethereum/Executive.cpp index d2b6fc0bc..7fbd36102 100644 --- a/libethereum/Executive.cpp +++ b/libethereum/Executive.cpp @@ -85,7 +85,7 @@ bool Executive::setup(bytesConstRef _rlp) if (startGasUsed + m_t.gas > m_s.m_currentBlock.gasLimit) { clog(StateChat) << "Too much gas used in this block: Require <" << (m_s.m_currentBlock.gasLimit - startGasUsed) << " Got" << m_t.gas; -// throw BlockGasLimitReached(); + throw BlockGasLimitReached(); } // Increment associated nonce for sender.