diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-15 22:26:49 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-15 22:26:49 +0800 |
commit | 8f1b461228a8e1cf81762c81037f879300f4989e (patch) | |
tree | b42e389ba761aba142ed35e0dffa26efa69f4c6b /ethereal/assets/ext/test.html | |
parent | c2c8757bd1e6c03254ca5888077b25a8902cfa0e (diff) | |
download | go-tangerine-8f1b461228a8e1cf81762c81037f879300f4989e.tar go-tangerine-8f1b461228a8e1cf81762c81037f879300f4989e.tar.gz go-tangerine-8f1b461228a8e1cf81762c81037f879300f4989e.tar.bz2 go-tangerine-8f1b461228a8e1cf81762c81037f879300f4989e.tar.lz go-tangerine-8f1b461228a8e1cf81762c81037f879300f4989e.tar.xz go-tangerine-8f1b461228a8e1cf81762c81037f879300f4989e.tar.zst go-tangerine-8f1b461228a8e1cf81762c81037f879300f4989e.zip |
Corrected getEachStorageAt
Diffstat (limited to 'ethereal/assets/ext/test.html')
-rw-r--r-- | ethereal/assets/ext/test.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ethereal/assets/ext/test.html b/ethereal/assets/ext/test.html index 980001f90..629e98377 100644 --- a/ethereal/assets/ext/test.html +++ b/ethereal/assets/ext/test.html @@ -12,6 +12,7 @@ function test() { var filter = eth.watch({ latest: -1, from: "e6716f9544a56c530d868e4bfbacb172315bdead", + altered: ["aabb", {id: "eeff", "at": "aabb"}], }); filter.changed(function(messages) { @@ -22,8 +23,10 @@ function test() { console.log("getMessages", messages) }); - eth.getEachStorageAt("9ef0f0d81e040012600b0c1abdef7c48f720f88a", function(a, b) { - console.log(a,b) + eth.getEachStorageAt("9ef0f0d81e040012600b0c1abdef7c48f720f88a", function(entries) { + for(var i = 0; i < entries.length; i++) { + console.log(entries[i].key, " : ", entries[i].value) + } }) eth.getBlock("f70097659f329a09642a27f11338d9269de64f1d4485786e36bfc410832148cd", function(block) { |