object: Make patch not set key before target construction #1458

Merged
dstepanov-yadro merged 1 commit from aarifullin/frostfs-node:fix/patch/sign into master 2024-10-29 15:20:29 +00:00
Showing only changes of commit 8a6c341b4d - Show all commits

View file

@ -116,7 +116,6 @@ func (s *Streamer) init(ctx context.Context, req *objectV2.PatchRequest) error {
Config: s.Config,
Common: commonPrm,
Header: objectSDK.NewFromV2(oV2),
SignRequestPrivateKey: s.localNodeKey,
})
if err != nil {
return fmt.Errorf("target creation: %w", err)