move perms to vm.Account

This commit is contained in:
Ethan Buchman
2015-05-16 00:48:04 -04:00
committed by Jae Kwon
parent c6c0701b69
commit 94f21ad012
10 changed files with 55 additions and 304 deletions

View File

@ -2,6 +2,7 @@ package vm
import (
. "github.com/tendermint/tendermint/common"
ptypes "github.com/tendermint/tendermint/permission/types"
)
const (
@ -15,6 +16,8 @@ type Account struct {
Nonce int64
StorageRoot Word256
Other interface{} // For holding all other data.
Permissions *ptypes.Permissions
}
func (acc *Account) String() string {