aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/net_js.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api/net_js.go')
-rw-r--r--rpc/api/net_js.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpc/api/net_js.go b/rpc/api/net_js.go
index 391039eea..acfd35fce 100644
--- a/rpc/api/net_js.go
+++ b/rpc/api/net_js.go
@@ -30,6 +30,10 @@ web3._extend({
],
properties:
[
+ new web3._extend.Property({
+ name: 'version',
+ getter: 'net_version'
+ })
]
});
`