Skip to content

Commit

Permalink
Adding comment about transcript length
Browse files Browse the repository at this point in the history
Co-authored-by: David Núñez <david@nucypher.com>
  • Loading branch information
theref and cygnusv committed Aug 8, 2024
1 parent 3d601da commit c64c0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/contracts/coordination/InfractionCollector.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ contract InfractionCollector is OwnableUpgradeable {
ritualId,
stakingProviders[i]
);
if (participant.transcript.length == 0) {
if (participant.transcript.length == 0) { // Transcript TX wasn't posted

Check failure on line 44 in contracts/contracts/coordination/InfractionCollector.sol

View workflow job for this annotation

GitHub Actions / linting

Insert ⏎··············
// Penalize the staking provider
tacoChildApplication.penalize(stakingProviders[i]);
infractions[ritualId][stakingProviders[i]] = true;
Expand Down

0 comments on commit c64c0d3

Please sign in to comment.