diff --git a/packages/daemon/src/daemon.js b/packages/daemon/src/daemon.js index b35578ead7..15d0b5c214 100644 --- a/packages/daemon/src/daemon.js +++ b/packages/daemon/src/daemon.js @@ -372,8 +372,10 @@ const makeEndoBootstrap = async ( context, ); } else if (formula.type === 'guest') { - const storeFormulaIdentifier = `pet-store:${formulaNumber}`; - const workerFormulaIdentifier = `worker:${formulaNumber}`; + const storeFormulaNumber = derive(formulaNumber, 'pet-store'); + const storeFormulaIdentifier = `pet-store:${storeFormulaNumber}`; + const workerFormulaNumber = derive(formulaNumber, 'worker'); + const workerFormulaIdentifier = `worker:${workerFormulaNumber}`; // Behold, recursion: // eslint-disable-next-line no-use-before-define return makeIdentifiedGuestController(