Skip to content

Commit

Permalink
slicer: Fix slicer object interface using in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Evgenii Baidakov <[email protected]>
  • Loading branch information
smallhive committed Jul 10, 2023
1 parent 09c8afe commit b204c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object/slicer/slicer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b204c37

Please sign in to comment.