From 4f53766428d245dfae84d061aebc8b31c7b005e5 Mon Sep 17 00:00:00 2001 From: arnoldy200 <75040229+arnoldy200@users.noreply.github.com> Date: Wed, 4 May 2022 13:08:01 -0500 Subject: [PATCH] Update the main.js One line change If shuffleLayerConfigurations = true and network = NETWORK.sol the generated image files start with 0, but still end at the same number. We need to reduce it by 1. --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index e9c08dcf2..e8416900b 100644 --- a/src/main.js +++ b/src/main.js @@ -341,7 +341,7 @@ const startCreating = async () => { let abstractedIndexes = []; for ( let i = network == NETWORK.sol ? 0 : 1; - i <= layerConfigurations[layerConfigurations.length - 1].growEditionSizeTo; + i <= (layerConfigurations[layerConfigurations.length - 1].growEditionSizeTo - (network == NETWORK.eth ? 0 : 1)); i++ ) { abstractedIndexes.push(i);