diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-17 22:33:34 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2015-06-22 15:17:09 +0800 |
commit | 603192cfa7eb081d9504170677045794cff3b7ab (patch) | |
tree | 950609f7de3d3ae88dd891b7d30399b15d2c422d /rpc/comms | |
parent | a4a4e9fcf824189d8d06940492a01effe6e6cf92 (diff) | |
download | go-tangerine-603192cfa7eb081d9504170677045794cff3b7ab.tar.gz go-tangerine-603192cfa7eb081d9504170677045794cff3b7ab.tar.zst go-tangerine-603192cfa7eb081d9504170677045794cff3b7ab.zip |
cleanup comments/code
Diffstat (limited to 'rpc/comms')
-rw-r--r-- | rpc/comms/inproc.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/rpc/comms/inproc.go b/rpc/comms/inproc.go index 89cb93cdc..1fdbf8ace 100644 --- a/rpc/comms/inproc.go +++ b/rpc/comms/inproc.go @@ -1,21 +1,22 @@ package comms import ( - "github.com/ethereum/go-ethereum/rpc/api" - "github.com/ethereum/go-ethereum/rpc/shared" "fmt" + + "github.com/ethereum/go-ethereum/eth" + "github.com/ethereum/go-ethereum/rpc/api" "github.com/ethereum/go-ethereum/rpc/codec" + "github.com/ethereum/go-ethereum/rpc/shared" "github.com/ethereum/go-ethereum/xeth" - "github.com/ethereum/go-ethereum/eth" ) type InProcClient struct { - api api.EthereumApi - codec codec.Codec - lastId interface{} + api api.EthereumApi + codec codec.Codec + lastId interface{} lastJsonrpc string - lastErr error - lastRes interface{} + lastErr error + lastRes interface{} } // Create a new in process client @@ -49,5 +50,4 @@ func (self *InProcClient) Send(req interface{}) error { func (self *InProcClient) Recv() (interface{}, error) { return self.lastRes, self.lastErr - //return *shared.NewRpcResponse(self.lastId, self.lastJsonrpc, self.lastRes, self.lastErr), nil } |