Skip to content
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

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

thunderbiscuit
Copy link
Member

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.

@thunderbiscuit thunderbiscuit requested a review from reez November 15, 2024 15:35
@thunderbiscuit
Copy link
Member Author

@reez this is the same PR as #612 and #626, but rebased.


Multisig {
keys: Vec<PkOrF>,

Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: remove line


Thresh {
items: Vec<Arc<Policy>>,

Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: remove line

Complete {
condition: Condition,
},

Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: remove line

.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`
Copy link
Collaborator

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?

RelativeTimelock {
value: u32,
},

Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: remove line

@reez
Copy link
Collaborator

reez commented Nov 15, 2024

Looking good, added a few nits that I didn't catch in my previous review of #612 , would like them fixed but I'll still give the go-ahead for merging regardless

ACK 6574022

@thunderbiscuit
Copy link
Member Author

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.

@thunderbiscuit thunderbiscuit merged commit 5b74617 into bitcoindevkit:master Nov 15, 2024
25 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