consensus/clique: remove redundant pair of parentheses (#21104)

release/1.9
yutianwu 5 years ago committed by GitHub
parent 4f2784b38f
commit 25a661e0c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      consensus/clique/api.go

@ -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

Loading…
Cancel
Save