diff --git a/consensus/clique/api.go b/consensus/clique/api.go index 4739a403afb7..13d404d2c8ff 100644 --- a/consensus/clique/api.go +++ b/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