aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api/utils.go')
-rw-r--r--rpc/api/utils.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpc/api/utils.go b/rpc/api/utils.go
index 6e6d5c7b0..eae23d351 100644
--- a/rpc/api/utils.go
+++ b/rpc/api/utils.go
@@ -29,6 +29,8 @@ func ParseApiString(apistr string, codec codec.Codec, xeth *xeth.XEth, eth *eth.
apis[i] = NewMinerApi(eth, codec)
case NetApiName:
apis[i] = NewNetApi(xeth, eth, codec)
+ case PersonalApiName:
+ apis[i] = NewPersonal(xeth, eth, codec)
case Web3ApiName:
apis[i] = NewWeb3(xeth, codec)
default:
@@ -47,6 +49,8 @@ func Javascript(name string) string {
return Miner_JS
case NetApiName:
return Net_JS
+ case PersonalApiName:
+ return Personal_JS
}
return ""