From 740081e2f7f3f76f7522753fd3c714e57ea22f3f Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 21 Aug 2014 21:06:42 +0200 Subject: Storage at changed to return bytes --- ethpipe/js_pipe.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ethpipe') 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 { -- cgit v1.2.3