fixes from review

This commit is contained in:
Ethan Buchman
2018-02-13 07:30:51 -05:00
parent 658d7633a3
commit d9ebe34c32
6 changed files with 61 additions and 104 deletions
+8 -7
View File
@@ -24,13 +24,14 @@ const (
CodeOK CodeType = 0
CodeInternal CodeType = 1
CodeTxParse CodeType = 2
CodeGenesisParse CodeType = 3
CodeBadNonce CodeType = 4
CodeUnauthorized CodeType = 5
CodeInsufficientFunds CodeType = 6
CodeUnknownRequest CodeType = 7
CodeUnrecognizedAddress CodeType = 8
CodeInvalidSequence CodeType = 9
CodeBadNonce CodeType = 3
CodeUnauthorized CodeType = 4
CodeInsufficientFunds CodeType = 5
CodeUnknownRequest CodeType = 6
CodeUnrecognizedAddress CodeType = 7
CodeInvalidSequence CodeType = 8
CodeGenesisParse CodeType = 0xdead // TODO: remove ?
)
// NOTE: Don't stringer this, we'll put better messages in later.