Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Conversation

@DanGould
Copy link

@DanGould DanGould commented Nov 13, 2024

These changes depend on bitcoin-ffi proc macros

These changes import bitcoin-ffi using uniffi::use_udl_object!, but proc macros would obsolete these lines.

We still have an incomplete but effective PsbtInput type in our bitcoin module, but everything else works.

close #3

Comment on lines 387 to 388
pub fn utxos_to_be_locked(&self) -> Vec<crate::OutPoint> {
let mut outpoints: Vec<crate::OutPoint> = Vec::new();

Choose a reason for hiding this comment

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

OutPoint is imported from crate::bitcoin_ffi, why the crate modifier?

@DanGould DanGould force-pushed the bitcoin-ffi branch 2 times, most recently from 2232ff9 to bd4f896 Compare December 2, 2024 19:44
@DanGould DanGould merged commit ffb254e into payjoin:main Apr 12, 2025
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use bitcoin-ffi types instead of redefining them in the payjoin_ffi::bitcoin module

2 participants