aboutsummaryrefslogtreecommitdiffstats
path: root/RPCTests/scripts/addPeer.js
diff options
context:
space:
mode:
Diffstat (limited to 'RPCTests/scripts/addPeer.js')
-rw-r--r--RPCTests/scripts/addPeer.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/RPCTests/scripts/addPeer.js b/RPCTests/scripts/addPeer.js
new file mode 100644
index 000000000..3da731748
--- /dev/null
+++ b/RPCTests/scripts/addPeer.js
@@ -0,0 +1 @@
+web3.admin.addPeer("enode://" + args[0], function(err, res){ callback(err, res); })