Skip to content

Conversation

DanGould
Copy link
Contributor

payjoin-ffi depends on the v2 state machine and thus requires the payjoin/v2 feature. However, due to a bug where V1Context is pub(crate) in the payjoin/v2 feature configuration, payjoin/v1 also needs to be enabled until that upstream payjoin crate bug is fixed.


the bug payjoin/rust-payjoin#599

payjoin-ffi depends on the v2 state machine and thus requires the
payjoin/v2 feature. However, due to a bug where V1Context is pub(crate)
in the payjoin/v2 feature configuration, payjoin/v1 also needs to be
enabled until that upstream payjoin crate bug is fixed.
@DanGould
Copy link
Contributor Author

I found it odd that this wasn't working in my own environment, since payjoin/v2 ought to be a default payjoin feature. That said, being explicit does not hurt.

Copy link
Contributor

@arminsabouri arminsabouri left a comment

Choose a reason for hiding this comment

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

tACK 8e80e21

Tested by generating linux bindings. The python tests are still failing but they are also failing in main.

AttributeError: module 'payjoin' has no attribute 'IsScriptOwned'

@DanGould DanGould merged commit 31d5b81 into LtbLightning:main Mar 24, 2025
3 checks passed
@DanGould DanGould deleted the v2 branch March 24, 2025 17: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.

4 participants