Fix code duplication in Executive::call overloadings.

This commit is contained in:
Paweł Bylica 2015-05-21 11:01:19 +02:00
parent 3e786f792e
commit 3605d3e965

View File

@ -155,7 +155,7 @@ protected:
else
{
BOOST_REQUIRE(m_state.addressHasCode(m_contractAddress));
BOOST_REQUIRE(!executive.call(m_contractAddress, m_contractAddress, m_sender, _value, m_gasPrice, &_data, m_gas, m_sender));
BOOST_REQUIRE(!executive.call(m_contractAddress, m_sender, _value, m_gasPrice, &_data, m_gas));
}
BOOST_REQUIRE(executive.go());
m_state.noteSending(m_sender);