Merge PR #5068: Add linter Nakedret

This commit is contained in:
Marko
2019-09-19 09:21:38 -04:00
committed by Alexander Bezobchuk
parent 5fd6a842fb
commit 01d8a230b2
11 changed files with 17 additions and 24 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ func (app *BaseApp) InitChain(req abci.RequestInitChain) (res abci.ResponseInitC
// NOTE: We don't commit, but BeginBlock for block 1 starts from this
// deliverState.
return
return res
}
// Info implements the ABCI interface.
@@ -137,7 +137,7 @@ func (app *BaseApp) BeginBlock(req abci.RequestBeginBlock) (res abci.ResponseBeg
// set the signed validators for addition to context in deliverTx
app.voteInfos = req.LastCommitInfo.GetVotes()
return
return res
}
// EndBlock implements the ABCI interface.