Skip to content

identities.IterateMalicious doesn't handle equivocation set for V2 ATXs correctly #6331

@ivan4th

Description

@ivan4th

Description

The identities.IterateMalicious doesn't check for married ATXs and thus yields the different set of malicious identities that you would get from going over every identity and calling identity.IsMalicious() for it, checking for true.
identities.IterateMalicious is used during warmup.
Related code:

"select (select count(*) from identities where proof is not null) as total, "+
"pubkey from identities where proof is not null", nil, dec); err != nil {

Expected Behavior

identities.IsMalicious should handle equivocation sets correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions