Skip to content

Commit

Permalink
Fix hashing bug due to incorrect height of Children
Browse files Browse the repository at this point in the history
  • Loading branch information
plaidfinch committed May 31, 2022
1 parent 71a25aa commit b8d9767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tct/src/internal/complete/node/children.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl<Child: Debug> Debug for Children<Child> {
}

impl<Child: Height> Height for Children<Child> {
type Height = <Child as Height>::Height;
type Height = Succ<<Child as Height>::Height>;
}

impl<Child: Height + GetHash> GetHash for Children<Child> {
Expand Down

0 comments on commit b8d9767

Please sign in to comment.