Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recoverAddress returns array instead address (solved) #210

Open
lochmatij opened this issue Sep 10, 2018 · 0 comments
Open

recoverAddress returns array instead address (solved) #210

lochmatij opened this issue Sep 10, 2018 · 0 comments

Comments

@lochmatij
Copy link

lochmatij commented Sep 10, 2018

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")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant