Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
goastler committed May 19, 2023
1 parent f8e8aa0 commit ed24130
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/captcha/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -957,8 +957,7 @@ pub mod captcha {
summary.score = 0;
} else {
// score is between 0 - 200, i.e. 0% - 100% in 0.5% increments
summary.score =
(summary.correct * 200) / (summary.correct + summary.incorrect);
summary.score = (summary.correct * 200) / (summary.correct + summary.incorrect);
}

Ok(summary)
Expand Down

0 comments on commit ed24130

Please sign in to comment.