Merge PR #3426: Various changes to version cmd, revert those which previously broke ABI
* version prints out short info by default Handle -o json, add --long flag to print full version info. * Add distclean target to Makefile * Update PENDING.md * Add missing targets in .PHONY
This commit is contained in:
committed by
Christopher Goes
parent
172a4510c7
commit
0ed6de0cbd
+1
-1
@@ -396,7 +396,7 @@ func handleQueryApp(app *BaseApp, path []string, req abci.RequestQuery) (res abc
|
||||
return abci.ResponseQuery{
|
||||
Code: uint32(sdk.CodeOK),
|
||||
Codespace: string(sdk.CodespaceRoot),
|
||||
Value: []byte(version.GetVersion()),
|
||||
Value: []byte(version.Version),
|
||||
}
|
||||
default:
|
||||
result = sdk.ErrUnknownRequest(fmt.Sprintf("Unknown query: %s", path)).Result()
|
||||
|
||||
Reference in New Issue
Block a user