Skip to content

fix: duplicated swept vtxos in sweep tx event#1152

Draft
Dunsin-cyber wants to merge 1 commit into
arkade-os:masterfrom
Dunsin-cyber:fix/sweep-event-duplicated-swept-vtxos
Draft

fix: duplicated swept vtxos in sweep tx event#1152
Dunsin-cyber wants to merge 1 commit into
arkade-os:masterfrom
Dunsin-cyber:fix/sweep-event-duplicated-swept-vtxos

Conversation

@Dunsin-cyber

Copy link
Copy Markdown
Contributor

fixes #1138 WIP

The fix

before the event is created, the sweeper filters the first list's coins out of the second one, so the two lists never overlap. This also keeps the event stored on disk clean, not just the message sent to clients

TODO

  • vet and tidy up the fix
  • add regression test and possibly test with go-sdk

@coderabbitai

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e1a3b4d6-e349-45df-9b77-b4e2a9f4b777

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

Bug: SweepTx event message contains duplicated swept vtxo

1 participant