aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/jeth.go
diff options
context:
space:
mode:
authorDaniel A. Nagy <nagy.da@gmail.com>2015-05-11 18:47:14 +0800
committerDaniel A. Nagy <nagy.da@gmail.com>2015-05-11 18:47:14 +0800
commita9e1d38612cfde56c285a5de5b5bfe5326bdc9b5 (patch)
tree6c16d3e2b216fdf0027a477a8975c9052930e34a /rpc/jeth.go
parent1fe70a66ba2ef0f148affa7a72b4e65023474859 (diff)
parent5176fbc6faaa5e7f0305ad7f2b896c092781deaa (diff)
downloadgo-tangerine-a9e1d38612cfde56c285a5de5b5bfe5326bdc9b5.tar
go-tangerine-a9e1d38612cfde56c285a5de5b5bfe5326bdc9b5.tar.gz
go-tangerine-a9e1d38612cfde56c285a5de5b5bfe5326bdc9b5.tar.bz2
go-tangerine-a9e1d38612cfde56c285a5de5b5bfe5326bdc9b5.tar.lz
go-tangerine-a9e1d38612cfde56c285a5de5b5bfe5326bdc9b5.tar.xz
go-tangerine-a9e1d38612cfde56c285a5de5b5bfe5326bdc9b5.tar.zst
go-tangerine-a9e1d38612cfde56c285a5de5b5bfe5326bdc9b5.zip
Merge branch 'develop' of github.com:ethereum/go-ethereum into develop
Conflicts: rpc/jeth.go
Diffstat (limited to 'rpc/jeth.go')
-rw-r--r--rpc/jeth.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc/jeth.go b/rpc/jeth.go
index ad52b72d7..2097ac30d 100644
--- a/rpc/jeth.go
+++ b/rpc/jeth.go
@@ -2,6 +2,7 @@ package rpc
import (
"encoding/json"
+ "fmt"
"github.com/ethereum/go-ethereum/jsre"
"github.com/robertkrimen/otto"
)
@@ -50,6 +51,7 @@ func (self *Jeth) Send(call otto.FunctionCall) (response otto.Value) {
var respif interface{}
err = self.ethApi.GetRequestReply(&req, &respif)
if err != nil {
+ fmt.Println("Error response:", err)
return self.err(call, -32603, err.Error(), req.Id)
}
call.Otto.Set("ret_jsonrpc", jsonrpcver)