Merge PR #5068: Add linter Nakedret
This commit is contained in:
committed by
Alexander Bezobchuk
parent
5fd6a842fb
commit
01d8a230b2
+2
-2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user