diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-08 17:59:44 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-08 17:59:44 +0800 |
commit | b417766b36f46316cbae6fa42815f1a519e5f733 (patch) | |
tree | aba26c0aefdcda3c3cd4b3583b84a2b2ebcf1efd /ethpipe/js_pipe.go | |
parent | 0015ce1e353f52cca818d11f566b9a656fb85f24 (diff) | |
download | dexon-b417766b36f46316cbae6fa42815f1a519e5f733.tar dexon-b417766b36f46316cbae6fa42815f1a519e5f733.tar.gz dexon-b417766b36f46316cbae6fa42815f1a519e5f733.tar.bz2 dexon-b417766b36f46316cbae6fa42815f1a519e5f733.tar.lz dexon-b417766b36f46316cbae6fa42815f1a519e5f733.tar.xz dexon-b417766b36f46316cbae6fa42815f1a519e5f733.tar.zst dexon-b417766b36f46316cbae6fa42815f1a519e5f733.zip |
Minor tweaks for poc7
Diffstat (limited to 'ethpipe/js_pipe.go')
-rw-r--r-- | ethpipe/js_pipe.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ethpipe/js_pipe.go b/ethpipe/js_pipe.go index 24a553dad..17c2261c7 100644 --- a/ethpipe/js_pipe.go +++ b/ethpipe/js_pipe.go @@ -3,6 +3,7 @@ package ethpipe import ( "bytes" "encoding/json" + "fmt" "sync/atomic" "github.com/ethereum/eth-go/ethchain" @@ -92,6 +93,7 @@ func (self *JSPipe) NumberToHuman(balance string) string { } func (self *JSPipe) StorageAt(addr, storageAddr string) string { + fmt.Println("get", addr, storageAddr) storage := self.World().SafeGet(ethutil.Hex2Bytes(addr)).Storage(ethutil.Hex2Bytes(storageAddr)) return ethutil.Bytes2Hex(storage.Bytes()) |