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 |
5 years ago | |
---|---|---|
.. | ||
codec.go | Renamed wire.go to codec.go (#3827) | 5 years ago |
monitor.go | alias amino imports (#3219) | 6 years ago |
monitor_test.go | alias amino imports (#3219) | 6 years ago |
network.go | fix linter errors thrown by `unconvert`, `goconst`, and `nakedret` (#3960) | 5 years ago |
network_test.go | fixes for tools repo merge (#1945) | 6 years ago |
node.go | make govet linter pass (#3292) | 6 years ago |
node_test.go | types: Emit tags from BeginBlock/EndBlock (#2747) | 6 years ago |