Fix for Trie roots.

AddressState -> Account.
This commit is contained in:
Gav Wood 2014-10-30 13:47:28 +01:00
parent 5110ffe304
commit bf763824f3

2
vm.cpp
View File

@ -471,7 +471,7 @@ h160 FakeState::createNewAddress(Address _newAddress, Address _sender, u256 _end
}
// Set up new account...
m_cache[_newAddress] = AddressState(0, balance(_newAddress) + _endowment, h256(), h256());
m_cache[_newAddress] = Account(0, balance(_newAddress) + _endowment, h256(), h256());
// Execute init code.
VM vm(*_gas);