Submitted by Lambda, also found by bearonbike
In registerBLSPublicKeys, it should be checked (according to the comment and error) if a BLS public key is part of the LSD network and not banned:
However, this is not actually checked. The function isBLSPublicKeyPartOfLSDNetwork only checks if the public key is part of the LSD network:
The function isBLSPublicKeyBanned would perform both checks and should be called here:
Because of that, it is possible to pass banned BLS public keys to registerBLSPublicKeys and the call will succeed.
Use isBLSPublicKeyBanned instead of isBLSPublicKeyPartOfLSDNetwork.
vince0656 (Stakehouse) confirmed
