Skip to content

Commit c1bbe0c

Browse files
cyjseagullHaoXuan40404
authored andcommitted
fix perf bug for finalize_vote_result_unlisted
1 parent 30ceeeb commit c1bbe0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

solution/anonymous_ciphertext_voting/src/coordinator.rs

+1
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ pub fn decrypt_unlisted_candidate_ballot(
472472
decrypted_unlisted_candidate_ballot_result
473473
.insert(candidate, i as u64);
474474
}
475+
break;
475476
}
476477
}
477478
Ok(true)

0 commit comments

Comments
 (0)