aboutsummaryrefslogtreecommitdiffstats
path: root/RPCTests/scripts/getLastBlock.js
diff options
context:
space:
mode:
Diffstat (limited to 'RPCTests/scripts/getLastBlock.js')
-rw-r--r--RPCTests/scripts/getLastBlock.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/RPCTests/scripts/getLastBlock.js b/RPCTests/scripts/getLastBlock.js
new file mode 100644
index 000000000..5ea2efafa
--- /dev/null
+++ b/RPCTests/scripts/getLastBlock.js
@@ -0,0 +1 @@
+web3.eth.getBlock("latest", function(err, res){ callback(err, res); })