Merge PR #4717: update x/slashing to match module spec
This commit is contained in:
committed by
Alexander Bezobchuk
parent
72ce6df7b6
commit
52edb032ca
@@ -21,7 +21,7 @@ handleMsgUnjail(tx TxUnjail)
|
||||
if !validator.Jailed
|
||||
fail with "Validator not jailed, cannot unjail"
|
||||
|
||||
info = getValidatorSigningInfo(operator)
|
||||
info = GetValidatorSigningInfo(operator)
|
||||
if info.Tombstoned
|
||||
fail with "Tombstoned validator cannot be unjailed"
|
||||
if block time < info.JailedUntil
|
||||
|
||||
@@ -10,7 +10,7 @@ now-bonded validator, which `StartHeight` of the current block.
|
||||
```
|
||||
onValidatorBonded(address sdk.ValAddress)
|
||||
|
||||
signingInfo, found = getValidatorSigningInfo(address)
|
||||
signingInfo, found = GetValidatorSigningInfo(address)
|
||||
if !found {
|
||||
signingInfo = ValidatorSigningInfo {
|
||||
StartHeight : CurrentHeight,
|
||||
|
||||
Reference in New Issue
Block a user