[PR] Address PR comments #2

pull/1850/head
Edgar Aroutiounian 5 years ago
parent 0114330744
commit ccd0648c73
  1. 2
      consensus/quorum/one-node-staked-vote.go

@ -57,7 +57,7 @@ func (v *stakedVoteWeight) IsQuorumAchieved(p Phase) bool {
// QuorumThreshold .. // QuorumThreshold ..
func (v *stakedVoteWeight) QuorumThreshold() *big.Int { func (v *stakedVoteWeight) QuorumThreshold() *big.Int {
return v.total.Mul(twoThirds).Int return v.total.Mul(twoThirds).RoundInt()
} }
// RewardThreshold .. // RewardThreshold ..

Loading…
Cancel
Save