forked from cerc-io/plugeth
Removed harcoded addresses from GetBlock JS bindings. Fixes #39
This commit is contained in:
parent
edc281ac5f
commit
b71094b01c
@ -70,12 +70,12 @@ ApplicationWindow {
|
|||||||
|
|
||||||
break
|
break
|
||||||
case "getBlockByNumber":
|
case "getBlockByNumber":
|
||||||
var block = eth.getBlock("b9b56cf6f907fbee21db0cd7cbc0e6fea2fe29503a3943e275c5e467d649cb06")
|
var block = eth.getBlock(data.args[0])
|
||||||
postData(data._seed, block)
|
postData(data._seed, block)
|
||||||
|
|
||||||
break
|
break
|
||||||
case "getBlockByHash":
|
case "getBlockByHash":
|
||||||
var block = eth.getBlock("b9b56cf6f907fbee21db0cd7cbc0e6fea2fe29503a3943e275c5e467d649cb06")
|
var block = eth.getBlock((data.args[0])
|
||||||
postData(data._seed, block)
|
postData(data._seed, block)
|
||||||
|
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user