From bf763824f327c956392cd527c30d57bb3ec6fe1f Mon Sep 17 00:00:00 2001
From: Gav Wood <i@gavwood.com>
Date: Thu, 30 Oct 2014 13:47:28 +0100
Subject: [PATCH] Fix for Trie roots. AddressState -> Account.

---
 vm.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vm.cpp b/vm.cpp
index 76ed41a44..617cb95c7 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);