aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r--xeth/xeth.go2
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)