Skip to content

Create explicit constructors for AuthSingleSig #2537

@mmagician

Description

@mmagician

If this is such a common pattern, should we maybe make this easier?

impl AuthSingleSig {
    fn falcon_512(pub_key: Falcon512PublicKey) -> Self { ... }
}

Though I don't have enough insight into how these various components play together to really know what the right API is.

Originally posted by @Mirko-von-Leipzig in 0xMiden/node#1724 (comment)

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersrustIssues that affect or pull requests that update Rust code

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions