aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/vote.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-10-16 17:22:58 +0800
committerGitHub <noreply@github.com>2018-10-16 17:22:58 +0800
commitbe7c5cc02e6b960abb92a63142d98cd3661ab4b4 (patch)
tree279c28a5799e86f00d2af76701292bad8e6a34ac /core/types/vote.go
parentfe0f16007f45232e40320f7b6d9f6f42af40c685 (diff)
downloaddexon-consensus-be7c5cc02e6b960abb92a63142d98cd3661ab4b4.tar
dexon-consensus-be7c5cc02e6b960abb92a63142d98cd3661ab4b4.tar.gz
dexon-consensus-be7c5cc02e6b960abb92a63142d98cd3661ab4b4.tar.bz2
dexon-consensus-be7c5cc02e6b960abb92a63142d98cd3661ab4b4.tar.lz
dexon-consensus-be7c5cc02e6b960abb92a63142d98cd3661ab4b4.tar.xz
dexon-consensus-be7c5cc02e6b960abb92a63142d98cd3661ab4b4.tar.zst
dexon-consensus-be7c5cc02e6b960abb92a63142d98cd3661ab4b4.zip
core: New dexon ba (#210)
Diffstat (limited to 'core/types/vote.go')
-rw-r--r--core/types/vote.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/types/vote.go b/core/types/vote.go
index 5ef7db3..bbf2f26 100644
--- a/core/types/vote.go
+++ b/core/types/vote.go
@@ -29,9 +29,9 @@ type VoteType byte
// VoteType enum.
const (
- VoteAck VoteType = iota
- VoteConfirm
- VotePass
+ VoteInit VoteType = iota
+ VotePreCom
+ VoteCom
// Do not add any type below MaxVoteType.
MaxVoteType
)