Skip to content

Commit 885b2c9

Browse files
committed
fix with acv sit
1 parent b16214c commit 885b2c9

File tree

1 file changed

+2
-2
lines changed
  • solution/anonymous_ciphertext_voting/src

1 file changed

+2
-2
lines changed

solution/anonymous_ciphertext_voting/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ fn flow_cn() {
207207
println!(
208208
"\n投票失败:您投出的总票数超出您的权重限制:{} + {} + {} \
209209
> {}\n",
210-
candidate2_votes,
210+
candidate1_votes,
211211
candidate2_votes,
212212
candidate3_votes,
213213
last_voter_weight
@@ -617,7 +617,7 @@ fn flow_en() {
617617
println!(
618618
"\nVote Failed: Your total votes has exceeded your voter \
619619
weight: {} + {} + {} > {}\n",
620-
candidate2_votes,
620+
candidate1_votes,
621621
candidate2_votes,
622622
candidate3_votes,
623623
last_voter_weight

0 commit comments

Comments
 (0)