提交 cb2c10d8 编写于 作者: J Jeffrey Wilcke

Merge pull request #1366 from ethers/rpcRequest

fix logging jsonrpc request #1365
......@@ -42,7 +42,7 @@ func (self *MergedApi) Methods() []string {
// Call the correct API's Execute method for the given request
func (self *MergedApi) Execute(req *shared.Request) (interface{}, error) {
glog.V(logger.Detail).Infof("rpc method: %s", req.Method)
glog.V(logger.Detail).Infof("%s %s", req.Method, req.Params)
if res, _ := self.handle(req); res != nil {
return res, nil
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册