cultmesh-browser: drop the post-read abort check from fetchVerifiedChunk

No await separates the read from the return there, and the failure race already rejects an abort that lands during the chunk hash; a mutant deleting the line survived every test because no window exists to pin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-19 18:52:21 +02:00
commit 326223e5d1

View file

@ -152,6 +152,5 @@ export async function fetchVerifiedChunk(endpoint: string, chunkHash: string, si
requireWebCrypto();
const slot = allocate(sizeBytes);
await readChunks(r, [{ url: chunkUrl(endpoint, hash, chunkRecordKey(hash)), hash, slot }]);
r.caller?.throwIfAborted();
return slot;
}