Add support in sortition for bls public keys that starts with zeros #1457
Labels
mark:testnet
type:vulnerability
Issues related to fix vulnerabilities of the architecture or software
Describe the bug
p.MemberAt(i)
in extractCommitteeMember would returnnil
member making the sortition panic, when a provisioner public key starts with zeros.To Reproduce
Expected behaviour
As it is an existing item, p.MemberAt(i) should return the real member but not nil. To achieve this,
Int.FillBytes
should be used.Additional context
The text was updated successfully, but these errors were encountered: