mirror of
https://github.com/mii443/merkle.rs.git
synced 2025-08-22 16:05:30 +00:00
Fix a bug where Lemma would be unserialized incorrectly.
This commit is contained in:
@ -115,7 +115,7 @@ impl LemmaProto {
|
||||
Some(Positioned::Left(self.take_left_sibling_hash()))
|
||||
}
|
||||
else if self.has_right_sibling_hash() {
|
||||
Some(Positioned::Left(self.take_right_sibling_hash()))
|
||||
Some(Positioned::Right(self.take_right_sibling_hash()))
|
||||
}
|
||||
else {
|
||||
None
|
||||
|
Reference in New Issue
Block a user