Skip to content

Commit

Permalink
feat(cosmic-swingset): include activityhash for initial block too
Browse files Browse the repository at this point in the history
  • Loading branch information
warner committed Aug 13, 2021
1 parent cff858f commit 976541f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cosmic-swingset/src/launch-chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ export async function launch(
type: 'cosmic-swingset-bootstrap-block-finish',
blockTime,
});
if (setActivityhash) {
setActivityhash(controller.getActivityhash());
}
}

async function endBlock(blockHeight, blockTime) {
Expand Down

0 comments on commit 976541f

Please sign in to comment.