From c373f68fbc41d91a3a6d6bababb4fc5b75ab6ca8 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Thu, 2 Sep 2021 17:01:18 -0700 Subject: [PATCH] Manifest fix --- protocol/files/filesharing_subsystem.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/files/filesharing_subsystem.go b/protocol/files/filesharing_subsystem.go index b2f6241..4bac6be 100644 --- a/protocol/files/filesharing_subsystem.go +++ b/protocol/files/filesharing_subsystem.go @@ -82,7 +82,7 @@ func (fsss *FileSharingSubSystem) RequestManifestParts(fileKey string) []model.P chunkID := 0; for i := 0; i < len(serializedManifest); i += DefaultChunkSize { offset := i - end := (i + 1) + DefaultChunkSize + end := i + DefaultChunkSize // truncate end if end > len(serializedManifest) { end = len(serializedManifest)