aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/comms/inproc.go
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-08-07 15:56:49 +0800
committerBas van Kervel <bas@ethdev.com>2015-08-12 18:22:16 +0800
commitf9cbd16f27e393d4937354ee31435e0a2f689484 (patch)
tree0b9668443084923b2b264cd0fb1b1b8c604cf1d6 /rpc/comms/inproc.go
parent2fcf7f1241648dc2c0ed90a122c5945f25b3ce1a (diff)
downloadgo-tangerine-f9cbd16f27e393d4937354ee31435e0a2f689484.tar
go-tangerine-f9cbd16f27e393d4937354ee31435e0a2f689484.tar.gz
go-tangerine-f9cbd16f27e393d4937354ee31435e0a2f689484.tar.bz2
go-tangerine-f9cbd16f27e393d4937354ee31435e0a2f689484.tar.lz
go-tangerine-f9cbd16f27e393d4937354ee31435e0a2f689484.tar.xz
go-tangerine-f9cbd16f27e393d4937354ee31435e0a2f689484.tar.zst
go-tangerine-f9cbd16f27e393d4937354ee31435e0a2f689484.zip
support for user agents
Diffstat (limited to 'rpc/comms/inproc.go')
-rw-r--r--rpc/comms/inproc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/comms/inproc.go b/rpc/comms/inproc.go
index f279f0163..e8058e32b 100644
--- a/rpc/comms/inproc.go
+++ b/rpc/comms/inproc.go
@@ -60,7 +60,7 @@ 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
}
func (self *InProcClient) SupportedModules() (map[string]string, error) {