diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-02 20:00:49 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-02 20:00:49 +0800 |
commit | 1e28b424e7f0f0d16f467ac7bac08b9dc0384106 (patch) | |
tree | bfed2a8a37bac9a4c25d1999156f2ec5b5b672ec /rpc/jeth.go | |
parent | 55b1c1546b72b24b087cecf18f3e52bad5c758c8 (diff) | |
download | go-tangerine-1e28b424e7f0f0d16f467ac7bac08b9dc0384106.tar.gz go-tangerine-1e28b424e7f0f0d16f467ac7bac08b9dc0384106.tar.zst go-tangerine-1e28b424e7f0f0d16f467ac7bac08b9dc0384106.zip |
Default gas
Diffstat (limited to 'rpc/jeth.go')
-rw-r--r-- | rpc/jeth.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc/jeth.go b/rpc/jeth.go index 9d33f45e1..e83212bb5 100644 --- a/rpc/jeth.go +++ b/rpc/jeth.go @@ -2,6 +2,7 @@ package rpc import ( "encoding/json" + "fmt" // "fmt" "github.com/ethereum/go-ethereum/jsre" "github.com/robertkrimen/otto" @@ -42,6 +43,7 @@ func (self *Jeth) Send(call otto.FunctionCall) (response otto.Value) { var respif interface{} err = self.ethApi.GetRequestReply(&req, &respif) if err != nil { + fmt.Printf("error: %s\n", err) return self.err(-32603, err.Error(), req.Id) } self.re.Set("ret_jsonrpc", jsonrpcver) |