diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-05-11 17:59:35 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-05-11 17:59:35 +0800 |
commit | 5176fbc6faaa5e7f0305ad7f2b896c092781deaa (patch) | |
tree | 4d6a6e160deaf11d4bb6296870e11f299b7b9bf0 /rpc | |
parent | 6674ea8d67012a8ad1227738c69b8997962fe141 (diff) | |
parent | 6ecba12650f2d20eded5f4f09fb312d84e81d909 (diff) | |
download | dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.tar.gz dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.tar.zst dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.zip |
Merge pull request #908 from obscuren/develop
core, eth, miner: improved tx removal & fatal error on db sync err
Diffstat (limited to 'rpc')
-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 4739316b2..a08f9be8f 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" @@ -52,6 +53,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) |