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

Fix TapTree depth check bug #429

Merged
merged 1 commit into from
Jun 10, 2022
Merged

Conversation

sanket1729
Copy link
Member

As spotted in #317

@SarcasticNastik
Copy link
Contributor

SarcasticNastik commented Jun 9, 2022

tACK aeebccd
I'm actually surprised I missed this out :p. Thanks for correcting it!

apoelstra
apoelstra previously approved these changes Jun 9, 2022
Copy link
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 aeebccd

There are two bugs fixed in this commit
1) Not checking height while creating tree from from_str/from_tree
2) Fix height calculation bugs with root at 0
@sanket1729
Copy link
Member Author

Rebased after #426 was merged

Copy link
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 61389dc

@sanket1729 sanket1729 merged commit 98ee329 into rust-bitcoin:master Jun 10, 2022
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