Function ValidatorSet.hasPublicKey
Check with public key if an enrollment data exists in the validator set
Parameters
Name | Description |
---|---|
height | block height for enrollment which includes the actual block with the enrollment as we are checking if public key is already used |
pubkey | the key by which the validator set searches enrollment |
Returns
true if the validator set has an enrollment for the public key