Fix golint error

This commit is contained in:
ValarDragon 2018-07-09 16:27:51 -07:00
parent 472e168a72
commit 30c4abb394
1 changed files with 1 additions and 2 deletions

View File

@ -526,9 +526,8 @@ func validateBasicTxMsgs(msgs []sdk.Msg) sdk.Error {
func getState(app *BaseApp, mode runTxMode) *state {
if mode == runTxModeCheck || mode == runTxModeSimulate {
return app.checkState
} else {
return app.deliverState
}
return app.deliverState
}
// txBytes may be nil in some cases, eg. in tests.