From 6738722a95d2b86ed385ae664222e92a4e6fa7d2 Mon Sep 17 00:00:00 2001 From: Benjamin Bollen <ben@erisindustries.com> Date: Wed, 20 Jul 2016 18:43:29 +0200 Subject: [PATCH] test: also move rpc definition of RpcRequest and RpcResponse for scumbag server test --- test/server/scumbag.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/server/scumbag.go b/test/server/scumbag.go index 907e198f..71eaddc6 100644 --- a/test/server/scumbag.go +++ b/test/server/scumbag.go @@ -5,7 +5,7 @@ import ( "os" "runtime" - rpc_tendermint "github.com/eris-ltd/eris-db/rpc/tendermint" + rpc "github.com/eris-ltd/eris-db/rpc" "github.com/eris-ltd/eris-db/server" "github.com/gin-gonic/gin" "github.com/tendermint/log15" @@ -46,7 +46,7 @@ func (this *ScumbagServer) ShutDown() { type ScumSocketService struct{} func (this *ScumSocketService) Process(data []byte, session *server.WSSession) { - resp := rpc_tendermint.NewRPCResponse("1", "Scumbag") + resp := rpc.NewRPCResponse("1", "Scumbag") bts, _ := json.Marshal(resp) session.Write(bts) } -- GitLab