aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/personal_js.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api/personal_js.go')
-rw-r--r--rpc/api/personal_js.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpc/api/personal_js.go b/rpc/api/personal_js.go
index 81c5d4a36..84c669af7 100644
--- a/rpc/api/personal_js.go
+++ b/rpc/api/personal_js.go
@@ -33,6 +33,11 @@ web3._extend({
call: 'personal_unlockAccount',
params: 3,
inputFormatter: [null, null, null]
+ }),
+ new web3._extend.Method({
+ name: 'lockAccount',
+ call: 'personal_lockAccount',
+ params: 1
})
],
properties: