aboutsummaryrefslogtreecommitdiffstats
path: root/state/dump.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-19 17:57:02 +0800
committerobscuren <geffobscura@gmail.com>2015-03-19 17:57:02 +0800
commitd7ab716eea1d1892e3358b1dece6b0e2cd31fce8 (patch)
treec0fe4ca2dc47ff8512065f3601b9f3ab6b21dd43 /state/dump.go
parente67d32b46744928b07b4d964ae3dede9a1ffdddf (diff)
downloadgo-tangerine-d7ab716eea1d1892e3358b1dece6b0e2cd31fce8.tar.gz
go-tangerine-d7ab716eea1d1892e3358b1dece6b0e2cd31fce8.tar.zst
go-tangerine-d7ab716eea1d1892e3358b1dece6b0e2cd31fce8.zip
Fixed mkdnode & added some tests
Diffstat (limited to 'state/dump.go')
-rw-r--r--state/dump.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/state/dump.go b/state/dump.go
index c5f556e1a..6db0d5074 100644
--- a/state/dump.go
+++ b/state/dump.go
@@ -35,6 +35,7 @@ func (self *StateDB) RawDump() World {
storageIt := stateObject.State.trie.Iterator()
for storageIt.Next() {
+ fmt.Println("value", storageIt.Value)
account.Storage[common.Bytes2Hex(storageIt.Key)] = common.Bytes2Hex(storageIt.Value)
}
world.Accounts[common.Bytes2Hex(it.Key)] = account