Skip to content

Commit

Permalink
chore(cosmic-swingset): Fix bug uncovered by testing
Browse files Browse the repository at this point in the history
🥳
  • Loading branch information
gibson042 committed Oct 28, 2024
1 parent cda6f5d commit 90b9005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cosmic-swingset/src/launch-chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ function computronCounter(
return totalBeans === 0n && !cleanupDone;
};
const didCleanup = details => {
for (const [phase, count] of Object.entries(details)) {
for (const [phase, count] of Object.entries(details.cleanups)) {
if (phase === 'total') continue;
if (!hasOwn(remainingCleanups, phase)) {
// TODO: log unknown phases?
Expand Down

0 comments on commit 90b9005

Please sign in to comment.