Skip to content

wallet: fixed timestamps for invented bookkeeper deposits - #9528

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

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

Conversation

@daywalker90

Copy link
Copy Markdown
Collaborator

migrate_setup_coinmoves() stamped wallet deposits with wall-clock time via coinmvt_current_time(), so a slow migration could place the deposit after the channel journal entry in bkpr-listaccountevents, flaking test_migration_no_bkpr.

Use base_timestamp + 1, like the channel moves, so the order is stable.

Changelog-None

Fixes: #9522

migrate_setup_coinmoves() stamped wallet deposits with wall-clock time
via coinmvt_current_time(), so a slow migration could place the deposit
after the channel journal entry in bkpr-listaccountevents, flaking
test_migration_no_bkpr.

Use base_timestamp + 1, like the channel moves, so the order is stable.

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.

Looks good to me!

@daywalker90
daywalker90 merged commit 498e508 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_migration_no_bkpr

2 participants