diff --git a/release/go/spacemesh/v2alpha1/network.pb.go b/release/go/spacemesh/v2alpha1/network.pb.go index fff60f96..cda3e4e8 100644 --- a/release/go/spacemesh/v2alpha1/network.pb.go +++ b/release/go/spacemesh/v2alpha1/network.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.33.0 // protoc (unknown) // source: spacemesh/v2alpha1/network.proto diff --git a/release/go/spacemesh/v2alpha1/network.pb.gw.go b/release/go/spacemesh/v2alpha1/network.pb.gw.go index 758c3638..733d3ee6 100644 --- a/release/go/spacemesh/v2alpha1/network.pb.gw.go +++ b/release/go/spacemesh/v2alpha1/network.pb.gw.go @@ -35,11 +35,7 @@ func request_NetworkService_Info_0(ctx context.Context, marshaler runtime.Marsha var protoReq NetworkInfoRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_NetworkService_Info_0(ctx context.Context, marshaler runtime. var protoReq NetworkInfoRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) }