Skip to content

Weird behavior for Policy::minimum_n_keys #264

@danielabrozzoni

Description

@danielabrozzoni

minimum_n_keys returns 0 when it encounters Policy::Unsatisfiable, this leads to some strange behavior with policies such as:

or(UNSATISFIABLE,and(pkh(alice_pkh),pkh(bob_pkh)))

where minimum_n_keys returns 0, even though the minimum number of keys for satisfying that policy is 2.

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