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

This commit is contained in:
yutianwu 2020-05-25 18:00:18 +08:00 committed by GitHub
parent 4f2784b38f
commit 25a661e0c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,7 +170,7 @@ func (api *API) Status() (*status, error) {
signStatus[sealer]++ signStatus[sealer]++
} }
return &status{ return &status{
InturnPercent: float64((100 * optimals)) / float64(numBlocks), InturnPercent: float64(100*optimals) / float64(numBlocks),
SigningStatus: signStatus, SigningStatus: signStatus,
NumBlocks: numBlocks, NumBlocks: numBlocks,
}, nil }, nil