aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/comms/inproc.go
diff options
context:
space:
mode:
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) {