diff --git a/server/rpc_router.go b/server/rpc_router.go index 7985b9ab..bcef5bb3 100644 --- a/server/rpc_router.go +++ b/server/rpc_router.go @@ -557,7 +557,7 @@ func (router *router) ProcessMessage(ctx context.Context, msg Message) (err erro } // read the body into the handler request value - if err = cc.ReadBody(req.Interface()); err != nil { + if err = cc.ReadBody(req.Addr().Interface()); err != nil { return err }