Skip to content

Duplicate owners can exist #19

@joshuahannan

Description

@joshuahannan

Despite WalletAdminLib’s changeOwner and addOwner functions checking that the incoming owner does not already exist, WalletMainLib does not perform such a check in its init function. A wallet with duplicate owners could result in unexpected behavior.
Consider using require(ownerIndex[_owners[i]] == 0) inside the loop that iterates through the incoming owner array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions