determinisitic linter (#902)

* linter: address gosimple lints

* linter: make deterministic & a rebase fix

* lint/rpc: fix a gosimple lint

* run linter in CI

* fix rebase mistake

* fix makefile

* ugh

* revert Makefile

* add metalinter to CI

* try this

* linter: last little fix

* need glide

* better

* okayy circle, have it your way

* lints: gosimple

* pr comments
This commit is contained in:
Zach
2017-12-10 17:44:22 +00:00
committed by GitHub
parent 080640a171
commit 12c5a57415
6 changed files with 19 additions and 22 deletions

View File

@ -373,12 +373,7 @@ func (n *Node) OnStart() error {
}
// start tx indexer
err = n.indexerService.Start()
if err != nil {
return err
}
return nil
return n.indexerService.Start()
}
// OnStop stops the Node. It implements cmn.Service.