mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-03 01:53:48 +00:00
Merge pull request #1366 from ethers/rpcRequest
fix logging jsonrpc request #1365
This commit is contained in:
commit
cb2c10d862
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue