mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 14:52:17 +00:00
explicitly type MaxTotalVotingPower to int64 (#2953)
This commit is contained in:
parent
dc2a338d96
commit
c4d93fd27b
@ -19,7 +19,7 @@ import (
|
|||||||
// x + (x >> 3) = x + x/8 = x * (1 + 0.125).
|
// x + (x >> 3) = x + x/8 = x * (1 + 0.125).
|
||||||
// MaxTotalVotingPower is the largest int64 `x` with the property that `x + (x >> 3)` is
|
// MaxTotalVotingPower is the largest int64 `x` with the property that `x + (x >> 3)` is
|
||||||
// still in the bounds of int64.
|
// still in the bounds of int64.
|
||||||
const MaxTotalVotingPower = 8198552921648689607
|
const MaxTotalVotingPower = int64(8198552921648689607)
|
||||||
|
|
||||||
// ValidatorSet represent a set of *Validator at a given height.
|
// ValidatorSet represent a set of *Validator at a given height.
|
||||||
// The validators can be fetched by address or index.
|
// The validators can be fetched by address or index.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user