From 5188f27624f7abe955a2182e6c01ce88c20ce1bb Mon Sep 17 00:00:00 2001 From: Stixx Date: Wed, 15 Jan 2025 10:45:09 +0100 Subject: [PATCH] chore: comment --- src/pages/sign/index.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pages/sign/index.tsx b/src/pages/sign/index.tsx index d620b10..b4b01d2 100644 --- a/src/pages/sign/index.tsx +++ b/src/pages/sign/index.tsx @@ -297,6 +297,11 @@ export const SignPage = () => { return } + /** + * We start iterating through all URLs and fetch the zip. If zip is unreachable, + * or it fails the hash check, we skip to the next one. Iteration will stop + * on the first successful zip, so that's why we do it sequentially. + */ for (let i = 0; i < zipUrls.length; i++) { const zipUrl = zipUrls[i] const isLastZipUrl = i === zipUrls.length - 1