What changed, and why it matters
This commit changes only a single line of code comment text in the contractcourt package. It rewords a comment to more accurately describe that a report field is being updated with a calculated maturity height, rather than a confirmation height. No executable code, logic, or data flow was modified.
No action required. This is a non-functional documentation/comment fix with no security implications.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is a comment-only change in contractcourt/commit_sweep_resolver.go. The previous comment stated ‘Update report now that we learned the confirmation height.’ The new comment reads ‘Update report with the calculated maturity height.’ The surrounding code that assigns unlockHeight to c.currentReport.MaturityHeight is unchanged. There is no functional or security-relevant modification.
Changed components
contractcourt/commit_sweep_resolver.goInspect captured patch +1 / −1
diff --git a/contractcourt/commit_sweep_resolver.go b/contractcourt/commit_sweep_resolver.go
index 04dce47..ea3b061 100644
--- a/contractcourt/commit_sweep_resolver.go
+++ b/contractcourt/commit_sweep_resolver.go
@@ -393,7 +393,7 @@ func (c *commitSweepResolver) Launch() error {
unlockHeight = max(unlockHeight, c.leaseExpiry)
}
- // Update report now that we learned the confirmation height.
+ // Update report with the calculated maturity height.
c.reportLock.Lock()
c.currentReport.MaturityHeight = unlockHeight
c.reportLock.Unlock()
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.