diff options
author | Maran <maran.hidskes@gmail.com> | 2014-05-13 22:32:35 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-05-13 22:32:35 +0800 |
commit | b71094b01cdc51a44d81eb7780a9d7d5216b6197 (patch) | |
tree | 4894d101ac2761bb67ec3b3c7e0179aee3c544d3 /ethereal/assets/qml/webapp.qml | |
parent | edc281ac5fb3f77aa826507390d374d5bbe1bb81 (diff) | |
download | dexon-b71094b01cdc51a44d81eb7780a9d7d5216b6197.tar dexon-b71094b01cdc51a44d81eb7780a9d7d5216b6197.tar.gz dexon-b71094b01cdc51a44d81eb7780a9d7d5216b6197.tar.bz2 dexon-b71094b01cdc51a44d81eb7780a9d7d5216b6197.tar.lz dexon-b71094b01cdc51a44d81eb7780a9d7d5216b6197.tar.xz dexon-b71094b01cdc51a44d81eb7780a9d7d5216b6197.tar.zst dexon-b71094b01cdc51a44d81eb7780a9d7d5216b6197.zip |
Removed harcoded addresses from GetBlock JS bindings. Fixes #39
Diffstat (limited to 'ethereal/assets/qml/webapp.qml')
-rw-r--r-- | ethereal/assets/qml/webapp.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethereal/assets/qml/webapp.qml b/ethereal/assets/qml/webapp.qml index 7af006f77..381ca08fa 100644 --- a/ethereal/assets/qml/webapp.qml +++ b/ethereal/assets/qml/webapp.qml @@ -70,12 +70,12 @@ ApplicationWindow { break case "getBlockByNumber": - var block = eth.getBlock("b9b56cf6f907fbee21db0cd7cbc0e6fea2fe29503a3943e275c5e467d649cb06") + var block = eth.getBlock(data.args[0]) postData(data._seed, block) break case "getBlockByHash": - var block = eth.getBlock("b9b56cf6f907fbee21db0cd7cbc0e6fea2fe29503a3943e275c5e467d649cb06") + var block = eth.getBlock((data.args[0]) postData(data._seed, block) break |