diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-05-18 23:11:27 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-05-18 23:11:27 +0800 |
commit | 62d76b8e1f0ebfe213c50006bec7dc1b5473029a (patch) | |
tree | 9d0ab8822b8ef671fd7dd6af54bd17716ac75b5c /rpc | |
parent | a528bd04db4adc8de707f8b5a3a7b2cef52a2fbc (diff) | |
download | go-tangerine-62d76b8e1f0ebfe213c50006bec7dc1b5473029a.tar.gz go-tangerine-62d76b8e1f0ebfe213c50006bec7dc1b5473029a.tar.zst go-tangerine-62d76b8e1f0ebfe213c50006bec7dc1b5473029a.zip |
Cleanup
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/api.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rpc/api.go b/rpc/api.go index 495f07835..b2566cfc5 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -4,7 +4,6 @@ import ( "bytes" "encoding/json" "math/big" - // "sync" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" @@ -231,7 +230,6 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err block := api.xeth().EthBlockByNumber(args.BlockNumber) br := NewBlockRes(block, args.IncludeTxs) - if args.BlockNumber == -2 { br.BlockHash = nil br.BlockNumber = nil @@ -588,7 +586,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err return NewNotImplementedError(req.Method) } - glog.V(logger.Detail).Infof("Reply: %T %s\n", reply, reply) + // glog.V(logger.Detail).Infof("Reply: %v\n", reply) return nil } |