From be5989f134a6aaa6cb50c12ece79a47fc948803b Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 24 Dec 2014 11:36:08 +0100 Subject: Implemented 256-long history for PREVHASH, though still optional. --- solidityExecutionFramework.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'solidityExecutionFramework.h') diff --git a/solidityExecutionFramework.h b/solidityExecutionFramework.h index 91ee7ad6..9f25b372 100644 --- a/solidityExecutionFramework.h +++ b/solidityExecutionFramework.h @@ -117,7 +117,7 @@ private: void sendMessage(bytes const& _data, bool _isCreation, u256 const& _value = 0) { m_state.addBalance(m_sender, _value); // just in case - eth::Executive executive(m_state, 0); + eth::Executive executive(m_state, eth::LastHashes(), 0); eth::Transaction t = _isCreation ? eth::Transaction(_value, m_gasPrice, m_gas, _data, 0, KeyPair::create().sec()) : eth::Transaction(_value, m_gasPrice, m_gas, m_contractAddress, _data, 0, KeyPair::create().sec()); bytes transactionRLP = t.rlp(); -- cgit