[#35] Client: rollback to PutSingleObject for client cut upload
All checks were successful
DCO / DCO (pull_request) Successful in 27s
lint-build / dotnet8.0 (pull_request) Successful in 41s
lint-build / dotnet8.0 (push) Successful in 40s

Signed-off-by: Pavel Gross <p.gross@yadro.com>
This commit is contained in:
Pavel Gross 2025-03-03 16:18:44 +03:00
parent 8835b23ed3
commit 6988fcedae
3 changed files with 187 additions and 88 deletions

View file

@ -68,7 +68,7 @@ public static class ObjectTools
{
Header = grpcHeader,
ObjectId = new ObjectID { Value = grpcHeader.Sha256() },
Payload = ByteString.CopyFrom(@object.SingleObjectPayload)
Payload = UnsafeByteOperations.UnsafeWrap(@object.SingleObjectPayload)
};
obj.Signature = new Signature