mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-31 03:16:21 +00:00
set Code to OK in ResponseQuery in BaseApplication
See https://github.com/tendermint/abci/pull/130#discussion_r152713220
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user