mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-08 04:50:16 +00:00
Swap Query return params
This commit is contained in:
@@ -77,6 +77,6 @@ func (app *CounterApplication) RemListener(key string) types.RetCode {
|
||||
return types.RetCodeOK
|
||||
}
|
||||
|
||||
func (app *CounterApplication) Query(query []byte) (types.RetCode, []byte) {
|
||||
return types.RetCodeOK, nil
|
||||
func (app *CounterApplication) Query(query []byte) ([]byte, types.RetCode) {
|
||||
return nil, types.RetCodeOK
|
||||
}
|
||||
|
||||
@@ -52,6 +52,6 @@ func (app *DummyApplication) RemListener(key string) types.RetCode {
|
||||
return types.RetCodeOK
|
||||
}
|
||||
|
||||
func (app *DummyApplication) Query(query []byte) (types.RetCode, []byte) {
|
||||
return types.RetCodeOK, nil
|
||||
func (app *DummyApplication) Query(query []byte) ([]byte, types.RetCode) {
|
||||
return nil, types.RetCodeOK
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user