lntest: fix error msg in `ReceiveChannelEvent`
What changed, and why it matters
This commit corrects only a test error message. When a test helper named ReceiveChannelEvent timed out, it previously reported the wrong message about intercepting HTLCs. Now it reports the correct message about receiving channel events. There is no change to production code, no security fix, and no user-facing behavior change.
No security action needed. Treat as a normal test-quality commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
In lntest/harness.go, the ReceiveChannelEvent test harness method’s timeout failure message was changed from ‘timeout intercepting htlc’ to ‘timeout receiving channel events’. The surrounding logic, timeouts, and error handling are unchanged. This is a test-only string correction.
Changed components
lntest/harness.goReceiveChannelEvent test helperInspect captured patch +1 / −1
diff --git a/lntest/harness.go b/lntest/harness.go
index ab02af7..21c32a5 100644
--- a/lntest/harness.go
+++ b/lntest/harness.go
@@ -2242,7 +2242,7 @@ func (h *HarnessTest) ReceiveChannelEvent(
select {
case <-time.After(DefaultTimeout):
- require.Fail(h, "timeout", "timeout intercepting htlc")
+ require.Fail(h, "timeout", "timeout receiving channel events")
case err := <-errChan:
require.Failf(h, "err from stream",
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.