From 67d2a5f66d958f881ca6957eb4b3a9268dc00b41 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Fri, 24 Nov 2017 16:45:36 -0600 Subject: [PATCH] set Code to OK in ResponseQuery in BaseApplication See https://github.com/tendermint/abci/pull/130#discussion_r152713220 --- types/base_app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/base_app.go b/types/base_app.go index 5432a5310..0086685b8 100644 --- a/types/base_app.go +++ b/types/base_app.go @@ -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) {