diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-16 19:07:13 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2015-06-22 14:54:21 +0800 |
commit | fd764d4ff7bd7e75dfdd7f733f50dd3805d4b3f2 (patch) | |
tree | 58af87ef1e8c78cfb05a6b756ad5e0b283590a0f /rpc/api | |
parent | 60c2ccd99cd9acdb628a9ba5e16ad0e7e52b7e17 (diff) | |
download | dexon-fd764d4ff7bd7e75dfdd7f733f50dd3805d4b3f2.tar dexon-fd764d4ff7bd7e75dfdd7f733f50dd3805d4b3f2.tar.gz dexon-fd764d4ff7bd7e75dfdd7f733f50dd3805d4b3f2.tar.bz2 dexon-fd764d4ff7bd7e75dfdd7f733f50dd3805d4b3f2.tar.lz dexon-fd764d4ff7bd7e75dfdd7f733f50dd3805d4b3f2.tar.xz dexon-fd764d4ff7bd7e75dfdd7f733f50dd3805d4b3f2.tar.zst dexon-fd764d4ff7bd7e75dfdd7f733f50dd3805d4b3f2.zip |
added comms http
Diffstat (limited to 'rpc/api')
-rw-r--r-- | rpc/api/mergedapi.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rpc/api/mergedapi.go b/rpc/api/mergedapi.go index b62477a14..8cf4ae96e 100644 --- a/rpc/api/mergedapi.go +++ b/rpc/api/mergedapi.go @@ -1,6 +1,8 @@ package api import ( + "github.com/ethereum/go-ethereum/logger" + "github.com/ethereum/go-ethereum/logger/glog" "github.com/ethereum/go-ethereum/rpc/shared" ) @@ -40,6 +42,8 @@ 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) + if res, _ := self.handle(req); res != nil { return res, nil } |