diff options
Diffstat (limited to 'rpc/server.go')
-rw-r--r-- | rpc/server.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rpc/server.go b/rpc/server.go index 2b7393dd2..8925419fe 100644 --- a/rpc/server.go +++ b/rpc/server.go @@ -313,7 +313,6 @@ func (s *Server) handle(ctx context.Context, codec ServerCodec, req *serverReque if len(reply) == 0 { return codec.CreateResponse(req.id, nil), nil } - if req.callb.errPos >= 0 { // test if method returned an error if !reply[req.callb.errPos].IsNil() { e := reply[req.callb.errPos].Interface().(error) |