Address is generated with VMAppState, and it increments the nonce too.

This commit is contained in:
Jae Kwon
2015-03-20 19:59:42 -07:00
parent 36dca3981b
commit b7553e2bfe
5 changed files with 65 additions and 35 deletions

View File

@ -48,7 +48,7 @@ type AppState interface {
GetAccount(addr Word) (*Account, error)
UpdateAccount(*Account) error
DeleteAccount(*Account) error
CreateAccount(addr Word) (*Account, error)
CreateAccount(*Account) (*Account, error)
// Storage
GetStorage(Word, Word) (Word, error)