make ineffassign linter pass

Refs #3262
This commit is contained in:
Anton Kaliaev
2019-03-07 00:19:07 +04:00
parent 411bc5e49f
commit 9257f7f79e
8 changed files with 19 additions and 10 deletions

View File

@ -71,7 +71,7 @@ import (
// }
// ```
func Status() (*ctypes.ResultStatus, error) {
var latestHeight int64 = -1
var latestHeight int64
if consensusReactor.FastSync() {
latestHeight = blockStore.Height()
} else {