aboutsummaryrefslogtreecommitdiffstats
path: root/ethpipe/js_pipe.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-22 03:06:42 +0800
committerobscuren <geffobscura@gmail.com>2014-08-22 03:06:42 +0800
commit740081e2f7f3f76f7522753fd3c714e57ea22f3f (patch)
tree53686aee20d600b5d658a1ffefee5c96b5382bbe /ethpipe/js_pipe.go
parent088bbc6bb73739811ea6a533ebb7af879fe8517e (diff)
downloaddexon-740081e2f7f3f76f7522753fd3c714e57ea22f3f.tar
dexon-740081e2f7f3f76f7522753fd3c714e57ea22f3f.tar.gz
dexon-740081e2f7f3f76f7522753fd3c714e57ea22f3f.tar.bz2
dexon-740081e2f7f3f76f7522753fd3c714e57ea22f3f.tar.lz
dexon-740081e2f7f3f76f7522753fd3c714e57ea22f3f.tar.xz
dexon-740081e2f7f3f76f7522753fd3c714e57ea22f3f.tar.zst
dexon-740081e2f7f3f76f7522753fd3c714e57ea22f3f.zip
Storage at changed to return bytes
Diffstat (limited to 'ethpipe/js_pipe.go')
-rw-r--r--ethpipe/js_pipe.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/ethpipe/js_pipe.go b/ethpipe/js_pipe.go
index b32e94a10..eeece5179 100644
--- a/ethpipe/js_pipe.go
+++ b/ethpipe/js_pipe.go
@@ -99,7 +99,8 @@ func (self *JSPipe) NumberToHuman(balance string) string {
func (self *JSPipe) StorageAt(addr, storageAddr string) string {
storage := self.World().SafeGet(ethutil.Hex2Bytes(addr)).Storage(ethutil.Hex2Bytes(storageAddr))
- return storage.BigInt().String()
+
+ return ethutil.Bytes2Hex(storage.Bytes())
}
func (self *JSPipe) TxCountAt(address string) int {