Fix golint error
This commit is contained in:
parent
472e168a72
commit
30c4abb394
|
@ -526,9 +526,8 @@ func validateBasicTxMsgs(msgs []sdk.Msg) sdk.Error {
|
||||||
func getState(app *BaseApp, mode runTxMode) *state {
|
func getState(app *BaseApp, mode runTxMode) *state {
|
||||||
if mode == runTxModeCheck || mode == runTxModeSimulate {
|
if mode == runTxModeCheck || mode == runTxModeSimulate {
|
||||||
return app.checkState
|
return app.checkState
|
||||||
} else {
|
|
||||||
return app.deliverState
|
|
||||||
}
|
}
|
||||||
|
return app.deliverState
|
||||||
}
|
}
|
||||||
|
|
||||||
// txBytes may be nil in some cases, eg. in tests.
|
// txBytes may be nil in some cases, eg. in tests.
|
||||||
|
|
Loading…
Reference in New Issue