Skip to content

Commit e3692ef

Browse files
committed
mpc: fix invalid map creation procedure. Closes #124
1 parent 46cb8a7 commit e3692ef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

commit_verify/src/mpc/tree.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ mod commit {
123123

124124
let mut depth = source.min_depth;
125125
loop {
126+
map.clear();
126127
let width = 2usize.pow(depth.to_u8() as u32) as u16;
127128
if source.messages.iter().all(|(protocol, message)| {
128129
let pos = protocol_id_pos(*protocol, width);

0 commit comments

Comments
 (0)