Skip to content

Derive PartialEq and Eq for AsyncPaymentsRole#904

Open
benthecarman wants to merge 1 commit into
lightningdevkit:mainfrom
benthecarman:eq-async-payments-role
Open

Derive PartialEq and Eq for AsyncPaymentsRole#904
benthecarman wants to merge 1 commit into
lightningdevkit:mainfrom
benthecarman:eq-async-payments-role

Conversation

@benthecarman
Copy link
Copy Markdown
Contributor

In lightningdevkit/ldk-server#208 I needed to use matches! instead of an assert_eq!

Allows callers to compare role values directly, which is useful
in tests and conditional logic gating async payments behavior.
@ldk-reviews-bot
Copy link
Copy Markdown

ldk-reviews-bot commented May 14, 2026

I've assigned @tnull as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@ldk-reviews-bot ldk-reviews-bot requested a review from tnull May 14, 2026 20:29
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.

2 participants