aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/admin_js.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api/admin_js.go')
-rw-r--r--rpc/api/admin_js.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/api/admin_js.go b/rpc/api/admin_js.go
index 2a9197da7..40c029fd1 100644
--- a/rpc/api/admin_js.go
+++ b/rpc/api/admin_js.go
@@ -92,8 +92,8 @@ web3._extend({
new web3._extend.Method({
name: 'register',
call: 'admin_register',
- params: 2,
- inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
+ params: 3,
+ inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
outputFormatter: web3._extend.formatters.formatOutputBool
}),
new web3._extend.Method({