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
+5 -6
View File
@@ -12,12 +12,11 @@ import (
func toVMAccount(acc *acm.Account) *vm.Account {
return &vm.Account{
Address: LeftPadWord256(acc.Address),
Balance: acc.Balance,
Code: acc.Code, // This is crazy.
Nonce: int64(acc.Sequence),
StorageRoot: LeftPadWord256(acc.StorageRoot),
Other: acc.PubKey,
Address: LeftPadWord256(acc.Address),
Balance: acc.Balance,
Code: acc.Code, // This is crazy.
Nonce: int64(acc.Sequence),
Other: acc.PubKey,
}
}