Browse Source

set Code to OK in ResponseQuery in BaseApplication

See https://github.com/tendermint/abci/pull/130#discussion_r152713220
pull/1780/head
Anton Kaliaev 7 years ago
parent
commit
67d2a5f66d
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      types/base_app.go

+ 1
- 1
types/base_app.go 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) {


Loading…
Cancel
Save