Skip to content

Commit

Permalink
Merge pull request #125 from LNP-BP/fix/124
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky authored Jun 14, 2023
2 parents 46cb8a7 + e3692ef commit b8c1704
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commit_verify/src/mpc/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ mod commit {

let mut depth = source.min_depth;
loop {
map.clear();
let width = 2usize.pow(depth.to_u8() as u32) as u16;
if source.messages.iter().all(|(protocol, message)| {
let pos = protocol_id_pos(*protocol, width);
Expand Down

0 comments on commit b8c1704

Please sign in to comment.