aboutsummaryrefslogtreecommitdiffstats
path: root/state/dump.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-27 03:21:41 +0800
committerobscuren <geffobscura@gmail.com>2015-02-27 03:21:41 +0800
commit76f6d75ef867e754264834fc7171d1a12f24c5bb (patch)
treea9531d9e14c15abd72625a98a21a9b988dc32319 /state/dump.go
parentb2a225a52e45315f3ec90e11707fefa6059d13f5 (diff)
parentfa7deb10f636d89f668249b78792f8cc48146ee8 (diff)
downloadgo-tangerine-76f6d75ef867e754264834fc7171d1a12f24c5bb.tar
go-tangerine-76f6d75ef867e754264834fc7171d1a12f24c5bb.tar.gz
go-tangerine-76f6d75ef867e754264834fc7171d1a12f24c5bb.tar.bz2
go-tangerine-76f6d75ef867e754264834fc7171d1a12f24c5bb.tar.lz
go-tangerine-76f6d75ef867e754264834fc7171d1a12f24c5bb.tar.xz
go-tangerine-76f6d75ef867e754264834fc7171d1a12f24c5bb.tar.zst
go-tangerine-76f6d75ef867e754264834fc7171d1a12f24c5bb.zip
Merge branch 'master' into hotfix/0.8.5-2
Diffstat (limited to 'state/dump.go')
-rw-r--r--state/dump.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/state/dump.go b/state/dump.go
index 81895f1a3..073f89414 100644
--- a/state/dump.go
+++ b/state/dump.go
@@ -35,7 +35,7 @@ func (self *StateDB) Dump() []byte {
storageIt := stateObject.State.trie.Iterator()
for storageIt.Next() {
- account.Storage[ethutil.Bytes2Hex(it.Key)] = ethutil.Bytes2Hex(it.Value)
+ account.Storage[ethutil.Bytes2Hex(storageIt.Key)] = ethutil.Bytes2Hex(storageIt.Value)
}
world.Accounts[ethutil.Bytes2Hex(it.Key)] = account
}