From 349501a815bed063a0a708fd72a27970a0fdc8e2 Mon Sep 17 00:00:00 2001 From: Terence Tsao Date: Mon, 26 Feb 2018 18:19:36 -0800 Subject: [PATCH] fixed linter issue Former-commit-id: 6f9ff695c747f337cce2d6fdbd04c48b4a36d9d5 [formerly 7397777cc91d4055558d3e32d17eec53f0b02cb5] Former-commit-id: 3eae93312088ab799c2ac5878295ab212f469ec1 --- sharding/collator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharding/collator.go b/sharding/collator.go index 3c3ed2f08..c609d42ed 100644 --- a/sharding/collator.go +++ b/sharding/collator.go @@ -52,7 +52,7 @@ func subscribeBlockHeaders(c collatorClient) error { return fmt.Errorf("unable to verify client in validator pool. %v", err) } - if (v) { + if v { if err := checkShardsForProposal(c, head); err != nil { return fmt.Errorf("unable to watch shards. %v", err) }