remove CodeType

This commit is contained in:
Ethan Buchman
2017-11-30 14:29:12 -05:00
parent 22b491bb19
commit 42a8e3240c
19 changed files with 190 additions and 410 deletions

View File

@ -26,7 +26,7 @@ import (
type response struct {
// generic abci response
Data []byte
Code types.CodeType
Code uint32
Log string
Query *queryResponse
@ -508,7 +508,7 @@ func printResponse(cmd *cobra.Command, args []string, rsp response) {
}
// Always print the status code.
fmt.Printf("-> code: %s\n", rsp.Code.String())
fmt.Printf("-> code: %d\n", rsp.Code)
if len(rsp.Data) != 0 {
// Do no print this line when using the commit command