|
|
@ -7,12 +7,10 @@ import ( |
|
|
|
const ( |
|
|
|
const ( |
|
|
|
isValidatorKeyStr = "Harmony/IsValidator/v0" |
|
|
|
isValidatorKeyStr = "Harmony/IsValidator/v0" |
|
|
|
isValidatorStr = "Harmony/IsAValidator/v0" |
|
|
|
isValidatorStr = "Harmony/IsAValidator/v0" |
|
|
|
isNotValidatorStr = "Harmony/IsNotAValidator/v0" |
|
|
|
|
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
// keys used to retrieve staking related informatio
|
|
|
|
// keys used to retrieve staking related informatio
|
|
|
|
var ( |
|
|
|
var ( |
|
|
|
IsValidatorKey = crypto.Keccak256Hash([]byte(isValidatorKeyStr)) |
|
|
|
IsValidatorKey = crypto.Keccak256Hash([]byte(isValidatorKeyStr)) |
|
|
|
IsValidator = crypto.Keccak256Hash([]byte(isValidatorStr)) |
|
|
|
IsValidator = crypto.Keccak256Hash([]byte(isValidatorStr)) |
|
|
|
IsNotValidator = crypto.Keccak256Hash([]byte(isNotValidatorStr)) |
|
|
|
|
|
|
|
) |
|
|
|
) |
|
|
|