set Code to OK in ResponseQuery in BaseApplication

See https://github.com/tendermint/abci/pull/130#discussion_r152713220
This commit is contained in:
Anton Kaliaev 2017-11-24 16:45:36 -06:00
parent 9b30fab4fc
commit 67d2a5f66d
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ func (BaseApplication) Commit() ResponseCommit {
}
func (BaseApplication) Query(req RequestQuery) ResponseQuery {
return ResponseQuery{}
return ResponseQuery{Code: CodeType_OK}
}
func (BaseApplication) InitChain(req RequestInitChain) {