remove unused const

pull/1795/head
chao 5 years ago
parent 942456f564
commit 2c1819a4e2
  1. 2
      staking/params.go

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

Loading…
Cancel
Save