diff --git a/rpclib/rpcClient.go b/rpclib/rpc_client.go similarity index 100% rename from rpclib/rpcClient.go rename to rpclib/rpc_client.go diff --git a/rpclib/rpcServer.go b/rpclib/rpc_server.go similarity index 99% rename from rpclib/rpcServer.go rename to rpclib/rpc_server.go index cb47898c0..23abcb9bd 100644 --- a/rpclib/rpcServer.go +++ b/rpclib/rpc_server.go @@ -156,7 +156,7 @@ func (s *RPCServer) rpcError(w http.ResponseWriter, req *request, code int, err Id: *req.Id, Error: &respError{ Code: code, - Message: err.(error).Error(), + Message: err.Error(), }, }