Skip to content

Correctly set v=2 query parameter for v2 senders - #320

Merged
DanGould merged 1 commit into
payjoin:masterfrom
spacebear21:v2-requests
Jul 11, 2024
Merged

Correctly set v=2 query parameter for v2 senders#320
DanGould merged 1 commit into
payjoin:masterfrom
spacebear21:v2-requests

Conversation

@spacebear21

Copy link
Copy Markdown
Collaborator

Fixes #311.

The modified test in the first commit fails without the changes in the second commit.

@spacebear21
spacebear21 requested a review from DanGould July 9, 2024 20:47
@DanGould

DanGould commented Jul 9, 2024

Copy link
Copy Markdown
Member

I'd like to see the commits squashed or have their order reversed so that we can reduce the number of known failing test states in our main branch. That way we can git bisect later and expect tests to pass

@DanGould DanGould added this to the payjoin-0.19.0 milestone Jul 9, 2024
Comment thread payjoin/src/receive/mod.rs Outdated
@spacebear21
spacebear21 marked this pull request as draft July 10, 2024 17:55
@spacebear21
spacebear21 marked this pull request as ready for review July 11, 2024 19:01
@DanGould

Copy link
Copy Markdown
Member

tACK but now we've a conflict since serialize_url was changed in #300

Closes payjoin#311. Set `v=2` in HTTP query string parameters when serializing
v2 sender requests.
@spacebear21

Copy link
Copy Markdown
Collaborator Author

Rebased

@DanGould DanGould left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK

@DanGould
DanGould merged commit c3ac51f into payjoin:master Jul 11, 2024
@DanGould DanGould mentioned this pull request Jul 18, 2024
17 tasks
@DanGould

Copy link
Copy Markdown
Member

Does this make #144 feasible?

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.

V2 requests are mistakenly being interpreted as v1 requests in params

2 participants