From 1bc91466aa7b82b7fa360caf02b1b0e2b2c0dab9 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Fri, 11 Dec 2020 11:19:45 +0300 Subject: [PATCH] sdk/client: Fix setter of objectAddressWriter structure value Signed-off-by: Leonard Lyubich --- pkg/client/object.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/client/object.go b/pkg/client/object.go index d7fba42b..a96f2f26 100644 --- a/pkg/client/object.go +++ b/pkg/client/object.go @@ -109,7 +109,7 @@ const searchQueryVersion uint32 = 1 var errNilObjectPart = errors.New("received nil object part") -func (w objectAddressWriter) SetAddress(addr *object.Address) { +func (w *objectAddressWriter) SetAddress(addr *object.Address) { w.addr = addr }