Remove StorageRoot from vm.Account

This commit is contained in:
Jae Kwon
2015-07-28 12:39:10 -07:00
parent 5230440141
commit 1a5bc9eeb2
5 changed files with 16 additions and 30 deletions
+4 -5
View File
@@ -36,11 +36,10 @@ func (fas *FakeAppState) CreateAccount(creator *Account) *Account {
account := fas.accounts[addr.String()]
if account == nil {
return &Account{
Address: addr,
Balance: 0,
Code: nil,
Nonce: 0,
StorageRoot: Zero256,
Address: addr,
Balance: 0,
Code: nil,
Nonce: 0,
}
} else {
panic(Fmt("Invalid account addr: %X", addr))