Skip to content

Commit 3d8ea90

Browse files
committed
Update voting power for houston
1 parent 514c667 commit 3d8ea90

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

voting-power.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,11 @@ func getNodeVotingPower(s *state.NetworkState, ethProvided *big.Int, nodeStake *
4747
votingRpl = nodeStake
4848
}
4949

50-
// Now take the square root and divide by 2
50+
// Now take the square root
5151
// Because the units are in wei, we need to multiply votingRpl by 1 Eth before square rooting.
5252
votingPower := big.NewInt(0)
5353
votingPower.Mul(votingRpl, oneEth)
5454
votingPower.Sqrt(votingPower)
55-
votingPower.Rsh(votingPower, 1)
5655
return votingPower
5756

5857
}

0 commit comments

Comments
 (0)