aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/jeth.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-08-25 18:23:25 +0800
committerFelix Lange <fjl@twurst.com>2015-08-25 18:23:25 +0800
commita219159e7e18ccaa52c9c493a19a11e6b7bab3dd (patch)
tree8d7d177b1d4ef721c7036076c533402308f5fe86 /rpc/jeth.go
parentd51d0022cee91d6588186455afbe6e54fae2cbf7 (diff)
parentd910148a96cca05bc40ac5b5773effa9b92702f8 (diff)
downloaddexon-a219159e7e18ccaa52c9c493a19a11e6b7bab3dd.tar
dexon-a219159e7e18ccaa52c9c493a19a11e6b7bab3dd.tar.gz
dexon-a219159e7e18ccaa52c9c493a19a11e6b7bab3dd.tar.bz2
dexon-a219159e7e18ccaa52c9c493a19a11e6b7bab3dd.tar.lz
dexon-a219159e7e18ccaa52c9c493a19a11e6b7bab3dd.tar.xz
dexon-a219159e7e18ccaa52c9c493a19a11e6b7bab3dd.tar.zst
dexon-a219159e7e18ccaa52c9c493a19a11e6b7bab3dd.zip
Merge pull request #1710 from bas-vk/useragent
user agent messages were dumped in some cases
Diffstat (limited to 'rpc/jeth.go')
-rw-r--r--rpc/jeth.go10
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}
}