diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-22 03:06:42 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-22 03:06:42 +0800 |
commit | 740081e2f7f3f76f7522753fd3c714e57ea22f3f (patch) | |
tree | 53686aee20d600b5d658a1ffefee5c96b5382bbe | |
parent | 088bbc6bb73739811ea6a533ebb7af879fe8517e (diff) | |
download | go-tangerine-740081e2f7f3f76f7522753fd3c714e57ea22f3f.tar.gz go-tangerine-740081e2f7f3f76f7522753fd3c714e57ea22f3f.tar.zst go-tangerine-740081e2f7f3f76f7522753fd3c714e57ea22f3f.zip |
Storage at changed to return bytes
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | ethpipe/js_pipe.go | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -6,7 +6,7 @@ Ethereum Ethereum Go Development package (C) Jeffrey Wilcke Ethereum is currently in its testing phase. The current state is "Proof -of Concept 0.6.4". For build instructions see the [Wiki](https://github.com/ethereum/go-ethereum/wiki/Building-Ethereum(Go)). +of Concept 0.6.5". For build instructions see the [Wiki](https://github.com/ethereum/go-ethereum/wiki/Building-Ethereum(Go)). Ethereum Go is split up in several sub packages Please refer to each individual package for more information. 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 { |