Skip to content

Fix identify_receiver_outputs#1168

Merged
spacebear21 merged 2 commits intopayjoin:masterfrom
spacebear21:fix-ignore-addtl-fee-contrib
Oct 21, 2025
Merged

Fix identify_receiver_outputs#1168
spacebear21 merged 2 commits intopayjoin:masterfrom
spacebear21:fix-ignore-addtl-fee-contrib

Conversation

@spacebear21
Copy link
Collaborator

Fix the linting error #1162 , which incidentally was an actual bug in the implementation since the updated params were ignored.

Supersedes #1163.

Pull Request Checklist

Please confirm the following before requesting review:

The receiver should ignore the additional fee contribution param
specified by the sender, if the specified fee output index is owned by
the receiver. `identify_receiver_outputs` previously modified a cloned
version of `params` but didn't do anything with the result.
@spacebear21 spacebear21 requested a review from benalleng October 21, 2025 17:02
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 18691661780

Details

  • 33 of 33 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.05%) to 83.784%

Totals Coverage Status
Change from base Build 18413003453: 0.05%
Covered Lines: 8980
Relevant Lines: 10718

💛 - Coveralls


pub fn identify_receiver_outputs(
&self,
self,
Copy link
Collaborator

@benalleng benalleng Oct 21, 2025

Choose a reason for hiding this comment

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

Why is this self changed to no longer be a ref in this commit as opposed to in b8b2a42?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No good reason tbh, I just realized it should consume self while writing the test.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ok, thats fine I just wanted to make sure it wouldn't be a git bisect problem.

Copy link
Collaborator

@benalleng benalleng left a comment

Choose a reason for hiding this comment

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

uTACK on 3163046

@spacebear21 spacebear21 merged commit eb34355 into payjoin:master Oct 21, 2025
10 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.

3 participants