Phil Salant 04d13d9945 fix linter errors thrown by unconvert, goconst, and nakedret (#3960)
* Remove unnecessary type conversions

* Consolidate repeated strings into consts

* Clothe return statements

* Update blockchain/v1/reactor_fsm_test.go

Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com>

This PR repairs linter errors seen when running the following commands:
golangci-lint run --no-config --disable-all=true --enable=unconvert
golangci-lint run --no-config --disable-all=true --enable=goconst
golangci-lint run --no-config --disable-all=true --enable=nakedret

Contributes to #3262
2019-09-10 11:31:44 +04:00
..
2019-07-23 15:35:36 +02:00
2019-07-23 15:35:36 +02:00
2019-07-31 11:34:17 +02:00
2019-07-31 11:34:17 +02:00
2019-08-11 22:27:03 +04:00
2019-07-31 11:34:17 +02:00
2019-08-02 10:53:52 +04:00
2018-07-01 22:36:49 -04:00
2019-07-31 11:34:17 +02:00

See the consensus spec and the reactor consensus spec for more information.