fixed linter issue

Former-commit-id: 6f9ff695c747f337cce2d6fdbd04c48b4a36d9d5 [formerly 7397777cc91d4055558d3e32d17eec53f0b02cb5]
Former-commit-id: 3eae93312088ab799c2ac5878295ab212f469ec1
This commit is contained in:
Terence Tsao 2018-02-26 18:19:36 -08:00
parent 8b91d97897
commit 349501a815

View File

@ -52,7 +52,7 @@ func subscribeBlockHeaders(c collatorClient) error {
return fmt.Errorf("unable to verify client in validator pool. %v", err) return fmt.Errorf("unable to verify client in validator pool. %v", err)
} }
if (v) { if v {
if err := checkShardsForProposal(c, head); err != nil { if err := checkShardsForProposal(c, head); err != nil {
return fmt.Errorf("unable to watch shards. %v", err) return fmt.Errorf("unable to watch shards. %v", err)
} }