diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-27 08:07:03 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-27 08:07:03 +0800 |
commit | 70867904a0255bd044851585a9ad2dc34391ced2 (patch) | |
tree | 9c5dfc6a9b8944c37f874a81cc9f8fd3d697ad4e /rpc/jeth.go | |
parent | ceea1a7051ddc7d2660117204aeb3392b7cf8314 (diff) | |
parent | 2c532a7255919bc09e01cca6866bfc15682509a3 (diff) | |
download | go-tangerine-70867904a0255bd044851585a9ad2dc34391ced2.tar go-tangerine-70867904a0255bd044851585a9ad2dc34391ced2.tar.gz go-tangerine-70867904a0255bd044851585a9ad2dc34391ced2.tar.bz2 go-tangerine-70867904a0255bd044851585a9ad2dc34391ced2.tar.lz go-tangerine-70867904a0255bd044851585a9ad2dc34391ced2.tar.xz go-tangerine-70867904a0255bd044851585a9ad2dc34391ced2.tar.zst go-tangerine-70867904a0255bd044851585a9ad2dc34391ced2.zip |
Merge branch 'release/0.9.25'v0.9.25
Diffstat (limited to 'rpc/jeth.go')
-rw-r--r-- | rpc/jeth.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpc/jeth.go b/rpc/jeth.go index 2097ac30d..61be60dc7 100644 --- a/rpc/jeth.go +++ b/rpc/jeth.go @@ -3,18 +3,18 @@ package rpc import ( "encoding/json" "fmt" + "github.com/ethereum/go-ethereum/jsre" "github.com/robertkrimen/otto" ) type Jeth struct { ethApi *EthereumApi - toVal func(interface{}) otto.Value re *jsre.JSRE } -func NewJeth(ethApi *EthereumApi, toVal func(interface{}) otto.Value, re *jsre.JSRE) *Jeth { - return &Jeth{ethApi, toVal, re} +func NewJeth(ethApi *EthereumApi, re *jsre.JSRE) *Jeth { + return &Jeth{ethApi, re} } func (self *Jeth) err(call otto.FunctionCall, code int, msg string, id interface{}) (response otto.Value) { |