aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/net_js.go
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-07-08 14:03:20 +0800
committerBas van Kervel <bas@ethdev.com>2015-07-08 14:03:20 +0800
commite84f3ec1d48f6a6c191e1f8a38d865fda3267a8a (patch)
tree394cd95dcd7940e9031184fdc201ab29a465ae3d /rpc/api/net_js.go
parenta2333bcbb46245e07357be1f9af4108e9bf1fe40 (diff)
downloadgo-tangerine-e84f3ec1d48f6a6c191e1f8a38d865fda3267a8a.tar.gz
go-tangerine-e84f3ec1d48f6a6c191e1f8a38d865fda3267a8a.tar.zst
go-tangerine-e84f3ec1d48f6a6c191e1f8a38d865fda3267a8a.zip
added net.version
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'
+ })
]
});
`