Skip to content

Commit

Permalink
consensus/clique: remove redundant pair of parentheses (#21104)
Browse files Browse the repository at this point in the history
  • Loading branch information
yutianwu authored May 25, 2020
1 parent 4f2784b commit 25a661e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/clique/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (api *API) Status() (*status, error) {
signStatus[sealer]++
}
return &status{
InturnPercent: float64((100 * optimals)) / float64(numBlocks),
InturnPercent: float64(100*optimals) / float64(numBlocks),
SigningStatus: signStatus,
NumBlocks: numBlocks,
}, nil
Expand Down

0 comments on commit 25a661e

Please sign in to comment.