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) }