Skip to content

Add RecoveryId getters #774

Closed
Closed
@tcharding

Description

@tcharding

Add two getters to the RecoveryId type

  • to_u8()
  • to_u32()

Original mentioned here: #765 (comment)

For anyone that wants to know why we add getters to int types and not setters, its because the type of From often cannot be inferred so the explicit getter is more ergonomic.

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