From b204c374663e9ec3543e424ed2442bc30731d11c Mon Sep 17 00:00:00 2001 From: Evgenii Baidakov Date: Mon, 10 Jul 2023 08:22:30 +0400 Subject: [PATCH] slicer: Fix slicer object interface using in tests Signed-off-by: Evgenii Baidakov --- object/slicer/slicer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object/slicer/slicer_test.go b/object/slicer/slicer_test.go index 65636e49..7adcfd50 100644 --- a/object/slicer/slicer_test.go +++ b/object/slicer/slicer_test.go @@ -511,7 +511,7 @@ type memoryWriter struct { splitID *object.SplitID } -func (w *memoryWriter) InitDataStream(hdr object.Object) (io.Writer, error) { +func (w *memoryWriter) InitDataStream(hdr object.Object, _ neofscrypto.Signer) (io.Writer, error) { w.headers = append(w.headers, hdr) if w.splitID == nil && hdr.SplitID() != nil { w.splitID = hdr.SplitID()