Skip to content

tests: fix test_blinded_forward_policy flake - #9529

Merged
daywalker90 merged 1 commit into
ElementsProject:masterfrom
daywalker90:fix-flake-test_blindedpath_noaddr
Sep 18, 2026
Merged

daywalker90 merged 1 commit into
ElementsProject:masterfrom
daywalker90:fix-flake-test_blindedpath_noaddr

Conversation

@daywalker90

Copy link
Copy Markdown
Collaborator

l1 isn't part of the l2-l3 funding, so join_nodes([l2, l3]) can leave it a block behind. The final CLTV only just meets l3's cltv-final, so l3 then rejects with "Expiry cltv too soon" and l1 reports the opaque "Malformed error reply". Sync all nodes before reading the blockheight.

Changelog-None

Fixes: #9525

l1 isn't part of the l2-l3 funding, so join_nodes([l2, l3]) can leave it
a block behind.  The final CLTV only just meets l3's cltv-final, so l3
then rejects with "Expiry cltv too soon" and l1 reports the opaque
"Malformed error reply".  Sync all nodes before reading the blockheight.

Changelog-None

@Andezion Andezion left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!!

@daywalker90
daywalker90 merged commit e4a3069 into ElementsProject:master Sep 18, 2026
44 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI flake test_blinded_forward_policy

2 participants