diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-22 21:22:21 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-22 21:22:21 +0800 |
commit | b5beb1aac11af92bfe0f3ed7560b9eb08495ed09 (patch) | |
tree | 3f3fba73bca00f8c0a6c9f8bc29bca8ba36e991d /ethstate/dump.go | |
parent | 27cb0750c1deaed040876abdab1386a6687d7999 (diff) | |
download | go-tangerine-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.tar go-tangerine-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.tar.gz go-tangerine-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.tar.bz2 go-tangerine-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.tar.lz go-tangerine-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.tar.xz go-tangerine-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.tar.zst go-tangerine-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.zip |
added a transfer method to vm env
Diffstat (limited to 'ethstate/dump.go')
-rw-r--r-- | ethstate/dump.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethstate/dump.go b/ethstate/dump.go index cdd4228b8..e7cbde48b 100644 --- a/ethstate/dump.go +++ b/ethstate/dump.go @@ -28,7 +28,7 @@ func (self *State) Dump() []byte { self.Trie.NewIterator().Each(func(key string, value *ethutil.Value) { stateObject := NewStateObjectFromBytes([]byte(key), value.Bytes()) - account := Account{Balance: stateObject.Balance.String(), Nonce: stateObject.Nonce, CodeHash: ethutil.Bytes2Hex(stateObject.codeHash)} + account := Account{Balance: stateObject.balance.String(), Nonce: stateObject.Nonce, CodeHash: ethutil.Bytes2Hex(stateObject.codeHash)} account.Storage = make(map[string]string) stateObject.EachStorage(func(key string, value *ethutil.Value) { |