Commit a5e070ec authored by Christopher Schinnerl's avatar Christopher Schinnerl

fix compat code

parent d333022c
......@@ -110,5 +110,9 @@ func (sfs *SiaFileSet) NewFromLegacyData(fd FileData) (*SiaFileSetEntry, error)
siaFileSetEntry: entry,
threadUID: threadUID,
}
// Update the cached fields for progress and uploaded bytes.
file.updateUploadProgressAndBytes()
return sfse, errors.AddContext(file.saveFile(), "unable to save file")
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment