aboutsummaryrefslogtreecommitdiffstats
path: root/state/dump.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-27 01:39:05 +0800
committerobscuren <geffobscura@gmail.com>2015-02-27 03:08:35 +0800
commite235b57234a68a8a39cfe7691a1825d8c6bb3443 (patch)
treea9531d9e14c15abd72625a98a21a9b988dc32319 /state/dump.go
parenta1c830cd3c53bce7748d97e3f99fe6a90d526adb (diff)
downloadgo-tangerine-e235b57234a68a8a39cfe7691a1825d8c6bb3443.tar
go-tangerine-e235b57234a68a8a39cfe7691a1825d8c6bb3443.tar.gz
go-tangerine-e235b57234a68a8a39cfe7691a1825d8c6bb3443.tar.bz2
go-tangerine-e235b57234a68a8a39cfe7691a1825d8c6bb3443.tar.lz
go-tangerine-e235b57234a68a8a39cfe7691a1825d8c6bb3443.tar.xz
go-tangerine-e235b57234a68a8a39cfe7691a1825d8c6bb3443.tar.zst
go-tangerine-e235b57234a68a8a39cfe7691a1825d8c6bb3443.zip
Fixed consensus issue for refunding
* Refund should _always_ go to the origin
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
}