diff options
author | obscuren <geffobscura@gmail.com> | 2015-06-17 17:44:40 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-06-17 17:44:40 +0800 |
commit | a977f3c0dc050463e2b3c8622d289a23f0d1ce02 (patch) | |
tree | c7dbd7c84519ab510ea7e8778ac611176473f169 /xeth/xeth.go | |
parent | 30b27336ea73f7d65c62363047fa37fdd0a54de1 (diff) | |
download | dexon-a977f3c0dc050463e2b3c8622d289a23f0d1ce02.tar dexon-a977f3c0dc050463e2b3c8622d289a23f0d1ce02.tar.gz dexon-a977f3c0dc050463e2b3c8622d289a23f0d1ce02.tar.bz2 dexon-a977f3c0dc050463e2b3c8622d289a23f0d1ce02.tar.lz dexon-a977f3c0dc050463e2b3c8622d289a23f0d1ce02.tar.xz dexon-a977f3c0dc050463e2b3c8622d289a23f0d1ce02.tar.zst dexon-a977f3c0dc050463e2b3c8622d289a23f0d1ce02.zip |
xeth, tests: fixed api
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 71753d6bd..d68f48d50 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -488,7 +488,7 @@ func (self *XEth) NumberToHuman(balance string) string { } func (self *XEth) StorageAt(addr, storageAddr string) string { - return common.ToHex(self.State().state.GetState(common.HexToAddress(addr), common.HexToHash(storageAddr))) + return self.State().state.GetState(common.HexToAddress(addr), common.HexToHash(storageAddr)).Hex() } func (self *XEth) BalanceAt(addr string) string { |