Skip to content

Commit 6a3bedd

Browse files
committed
Gonna back this out, but just a PoC of how to change the staking module
1 parent 2f81f5c commit 6a3bedd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/staking/types/validator.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ func (v Validator) BondedTokens() math.Int {
352352
// validator tokens is applied
353353
func (v Validator) ConsensusPower(r math.Int) int64 {
354354
if v.IsBonded() {
355-
return v.PotentialConsensusPower(r)
355+
return 365
356356
}
357357

358358
return 0

0 commit comments

Comments
 (0)