aboutsummaryrefslogtreecommitdiffstats
path: root/RPCTests/scripts/getLastBlock.js
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-01-28 00:31:19 +0800
committerDimitry <winsvega@mail.ru>2017-01-28 00:31:19 +0800
commitea7e06b2970a01cd11b3a062425f5c5cafc19ee7 (patch)
tree82f0dad0a0c0c37591e8c8d542710b8d909f086d /RPCTests/scripts/getLastBlock.js
parentbc8ad7422d32a940bab194173083a684adcc2706 (diff)
downloaddexon-tests-ea7e06b2970a01cd11b3a062425f5c5cafc19ee7.tar.gz
dexon-tests-ea7e06b2970a01cd11b3a062425f5c5cafc19ee7.tar.zst
dexon-tests-ea7e06b2970a01cd11b3a062425f5c5cafc19ee7.zip
rpc tests on js
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); })