diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-08-24 18:22:12 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2015-08-24 18:41:34 +0800 |
commit | d910148a96cca05bc40ac5b5773effa9b92702f8 (patch) | |
tree | 8d7d177b1d4ef721c7036076c533402308f5fe86 /rpc/jeth.go | |
parent | d51d0022cee91d6588186455afbe6e54fae2cbf7 (diff) | |
download | go-tangerine-d910148a96cca05bc40ac5b5773effa9b92702f8.tar go-tangerine-d910148a96cca05bc40ac5b5773effa9b92702f8.tar.gz go-tangerine-d910148a96cca05bc40ac5b5773effa9b92702f8.tar.bz2 go-tangerine-d910148a96cca05bc40ac5b5773effa9b92702f8.tar.lz go-tangerine-d910148a96cca05bc40ac5b5773effa9b92702f8.tar.xz go-tangerine-d910148a96cca05bc40ac5b5773effa9b92702f8.tar.zst go-tangerine-d910148a96cca05bc40ac5b5773effa9b92702f8.zip |
Set ipc channel as user agent client
Diffstat (limited to 'rpc/jeth.go')
-rw-r--r-- | rpc/jeth.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/rpc/jeth.go b/rpc/jeth.go index 158bfb64c..757f6b7eb 100644 --- a/rpc/jeth.go +++ b/rpc/jeth.go @@ -40,16 +40,6 @@ type Jeth struct { } func NewJeth(ethApi shared.EthereumApi, re *jsre.JSRE, client comms.EthereumClient, fe xeth.Frontend) *Jeth { - // enable the jeth as the user agent - req := shared.Request{ - Id: 0, - Method: useragent.EnableUserAgentMethod, - Jsonrpc: shared.JsonRpcVersion, - Params: []byte("[]"), - } - client.Send(&req) - client.Recv() - return &Jeth{ethApi, re, client, fe} } |