RetCodeEncodingError

This commit is contained in:
Ethan Buchman
2015-12-07 18:16:03 -05:00
committed by Jae Kwon
parent 4b67e9e9d2
commit a357f3156a
3 changed files with 4 additions and 3 deletions

View File

@ -204,7 +204,7 @@ func cmdAppendTx(c *cli.Context) {
if err != nil { if err != nil {
Exit(err.Error()) Exit(err.Error())
} }
fmt.Println("Sent tx:", txString, "response:", res) fmt.Println("Response:", res)
} }
// Get application Merkle root hash // Get application Merkle root hash

View File

@ -13,6 +13,7 @@ const (
RetCodeUnauthorized RetCode = 2 RetCodeUnauthorized RetCode = 2
RetCodeInsufficientFees RetCode = 3 RetCodeInsufficientFees RetCode = 3
RetCodeUnknownRequest RetCode = 4 RetCodeUnknownRequest RetCode = 4
RetCodeEncodingError RetCode = 5
) )
func (r RetCode) Error() error { func (r RetCode) Error() error {

View File

@ -4,9 +4,9 @@ package types
import "fmt" import "fmt"
const _RetCode_name = "RetCodeOKRetCodeInternalErrorRetCodeUnauthorizedRetCodeInsufficientFeesRetCodeUnknownRequest" const _RetCode_name = "RetCodeOKRetCodeInternalErrorRetCodeUnauthorizedRetCodeInsufficientFeesRetCodeUnknownRequestRetCodeEncodingError"
var _RetCode_index = [...]uint8{0, 9, 29, 48, 71, 92} var _RetCode_index = [...]uint8{0, 9, 29, 48, 71, 92, 112}
func (i RetCode) String() string { func (i RetCode) String() string {
if i < 0 || i+1 >= RetCode(len(_RetCode_index)) { if i < 0 || i+1 >= RetCode(len(_RetCode_index)) {