From 25a661e0c2fef5b8de9e36f8c928f374d23e3b01 Mon Sep 17 00:00:00 2001 From: yutianwu Date: Mon, 25 May 2020 18:00:18 +0800 Subject: [PATCH] consensus/clique: remove redundant pair of parentheses (#21104) --- consensus/clique/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/clique/api.go b/consensus/clique/api.go index 4739a403a..13d404d2c 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