Skip to content

Commit

Permalink
chore: added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
troykessler committed Jun 17, 2024
1 parent 960a8c9 commit 51b5623
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integrations/tendermint/src/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ export default class Tendermint implements IRuntime {
);
}

// check if finalize_block_events are present if every event attribute
// has a mode and that every mode attribute is either of value
// "BeginBlock" or "EndBlock"
if (item.value.block_results.finalize_block_events) {
for (const event of item.value.block_results.finalize_block_events) {
const modeAttribute = event.attributes.find(
Expand Down

0 comments on commit 51b5623

Please sign in to comment.