aboutsummaryrefslogtreecommitdiffstats
path: root/ethstate/dump.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-22 21:22:21 +0800
committerobscuren <geffobscura@gmail.com>2014-10-22 21:22:21 +0800
commitb5beb1aac11af92bfe0f3ed7560b9eb08495ed09 (patch)
tree3f3fba73bca00f8c0a6c9f8bc29bca8ba36e991d /ethstate/dump.go
parent27cb0750c1deaed040876abdab1386a6687d7999 (diff)
downloadgo-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.go2
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) {