-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: expose Wallet::policies method #629
feat: expose Wallet::policies method #629
Conversation
bdk-ffi/src/types.rs
Outdated
|
||
Multisig { | ||
keys: Vec<PkOrF>, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove line
bdk-ffi/src/types.rs
Outdated
|
||
Thresh { | ||
items: Vec<Arc<Policy>>, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove line
bdk-ffi/src/types.rs
Outdated
Complete { | ||
condition: Condition, | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove line
bdk-ffi/src/types.rs
Outdated
.map(|(index, conditions)| { | ||
( | ||
index.iter().map(|e| e.to_owned() as u32).collect(), | ||
conditions.into_iter().map(|e| e.into()).collect(), // Convert each `Condition` to `YourType` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove code comment potentially?
bdk-ffi/src/types.rs
Outdated
RelativeTimelock { | ||
value: u32, | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove line
6574022
to
5b74617
Compare
Thanks! Indeed I found a few places where newlines where missing and a few places where newlines where not applied systematically. Fixed all that now. |
I don't know wtf is going on with this branch/PR and the naming but it's really not liking me pushing to it.