diff --git a/src/ssn/readSsnFile.ts b/src/ssn/readSsnFile.ts index c5a4b88..6c838a0 100644 --- a/src/ssn/readSsnFile.ts +++ b/src/ssn/readSsnFile.ts @@ -104,9 +104,6 @@ export default function readSsnFile(buffer: Buffer): ISsnFileEntry[] { const relOffset = dv.getUint32(pos, true); pos += 4; /** file name (variable size) */ const fileName = Decoder.decode(new DataView(arrayBuffer, pos, fileNameLength)); pos += fileNameLength; - if (fileName !== 'metafile.solid') { - throw new Error(`Expected file name to be "metafile.solid" but it was "${fileName}".`); - } //read password from extra field const extraFieldEnd = pos + extraFieldLength;