aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-10-30 20:47:28 +0800
committerGav Wood <i@gavwood.com>2014-10-30 20:47:28 +0800
commitbf763824f327c956392cd527c30d57bb3ec6fe1f (patch)
tree48efba8aee9d31850edae6120504a237ca4add70
parent5110ffe3044a6c362ef29b33bc67c6d08c783451 (diff)
downloaddexon-solidity-bf763824f327c956392cd527c30d57bb3ec6fe1f.tar.gz
dexon-solidity-bf763824f327c956392cd527c30d57bb3ec6fe1f.tar.zst
dexon-solidity-bf763824f327c956392cd527c30d57bb3ec6fe1f.zip
Fix for Trie roots.
AddressState -> Account.
-rw-r--r--vm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.cpp b/vm.cpp
index 76ed41a4..617cb95c 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -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);