summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mintages/parser.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/mintages/parser.go b/mintages/parser.go
index 7b782b3..9f0c66f 100644
--- a/mintages/parser.go
+++ b/mintages/parser.go
@@ -10,8 +10,9 @@ import (
)
const (
- Unknown = -1 // Unknown mintage
- Invalid = -2 // All mintages <= than this are invalid
+ _ = -iota
+ Unknown // Unknown mintage
+ Invalid // All mintages <= than this are invalid
)
type SyntaxError struct {