Skip to content

Change type of final script witness to Witness from Vec<Vec<u8>>#774

Merged
apoelstra merged 1 commit intorust-bitcoin:masterfrom
sanket1729:psbt_witness
Jan 11, 2022
Merged

Change type of final script witness to Witness from Vec<Vec<u8>>#774
apoelstra merged 1 commit intorust-bitcoin:masterfrom
sanket1729:psbt_witness

Conversation

@sanket1729
Copy link
Copy Markdown
Member

@sanket1729 sanket1729 commented Jan 11, 2022

Doing this would certainly help APIs downstream that operate on &Witness because they would not conversion from &Vec<Vec> to &Witness.

dr-orlovsky
dr-orlovsky previously approved these changes Jan 11, 2022
Copy link
Copy Markdown
Collaborator

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

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

ACK 68b21f696dfe9d4e4592334967cd876731dd6f31

Kixunil
Kixunil previously approved these changes Jan 11, 2022
Copy link
Copy Markdown
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

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

ACK 68b21f696dfe9d4e4592334967cd876731dd6f31

Really cool how the code composes so that this change is simple. :)

@Kixunil Kixunil added the API break This PR requires a version bump for the next release label Jan 11, 2022
@sanket1729
Copy link
Copy Markdown
Member Author

Addressed the nits.

Copy link
Copy Markdown
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

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

ACK 9a8ab3f

Copy link
Copy Markdown
Collaborator

@RCasatta RCasatta left a comment

Choose a reason for hiding this comment

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

ACK 9a8ab3f

Copy link
Copy Markdown
Collaborator

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

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

ACK 9a8ab3f

Copy link
Copy Markdown
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 9a8ab3f

@apoelstra apoelstra merged commit bc9388e into rust-bitcoin:master Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API break This PR requires a version bump for the next release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants