diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-26 07:42:35 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-26 07:42:35 +0800 |
commit | 7e4c48871782901e292957a17c9da9fa1b789054 (patch) | |
tree | 39cff964e8512966772b68ad791460c338d4c6da /xeth/xeth.go | |
parent | 505f1fbcbbc00b3f4750b9e9a7c119f882c620bf (diff) | |
download | dexon-7e4c48871782901e292957a17c9da9fa1b789054.tar.gz dexon-7e4c48871782901e292957a17c9da9fa1b789054.tar.zst dexon-7e4c48871782901e292957a17c9da9fa1b789054.zip |
Fixed storage. Closes #516
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r-- | xeth/xeth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index 36c9979f4..25fdb8c89 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -456,7 +456,7 @@ func (self *XEth) EachStorage(addr string) string { object := self.State().SafeGet(addr) it := object.Trie().Iterator() for it.Next() { - values = append(values, KeyVal{common.ToHex(it.Key), common.ToHex(it.Value)}) + values = append(values, KeyVal{common.ToHex(object.Trie().GetKey(it.Key)), common.ToHex(it.Value)}) } valuesJson, err := json.Marshal(values) |