Skip to content

recoverAddress returns array instead address (solved) #210

@lochmatij

Description

@lochmatij

for example, it returns

Uint8Array(20) [69, 6, 204, 142, 144, 164, 25, 27, 111, 167, 84, 14, 127, 231, 201, 45, 92, 242, 8, 56]

is it ok?

if yes, how can i get address like 0xa567c..... from array?

upd: just address.toString("hex")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions