aboutsummaryrefslogtreecommitdiffstats
path: root/core/consensus.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/consensus.go')
-rw-r--r--core/consensus.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/consensus.go b/core/consensus.go
index e021024..91ca657 100644
--- a/core/consensus.go
+++ b/core/consensus.go
@@ -157,7 +157,7 @@ func NewConsensus(
to := newTotalOrdering(
uint64(gov.GetTotalOrderingK()),
uint64(float32(len(validatorSet)-1)*gov.GetPhiRatio()+1),
- validators)
+ gov.GetChainNumber())
con := &Consensus{
ID: types.NewValidatorID(prv.PublicKey()),