Skip to content

Commit

Permalink
fix(vats): fix home.chainTimerService (SQUASHME prod)
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Feb 18, 2022
1 parent 4d66dfb commit 1a8fab6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/vats/src/core/chain-behaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,10 @@ export const startTimerService = async ({
devices: { timer: timerDevice },
vats: { timer: timerVat },
consume: { client },
produce: { chainTimerService },
produce: { chainTimerService: produceTimer },
}) => {
chainTimerService.resolve(E(timerVat).createTimerService(timerDevice));
const chainTimerService = E(timerVat).createTimerService(timerDevice);
produceTimer.resolve(chainTimerService);
return E(client).assignBundle([_addr => ({ chainTimerService })]);
};
harden(startTimerService);
Expand Down

0 comments on commit 1a8fab6

Please sign in to comment.