Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

elliptic .toBuffer() not browser compatible #689

Closed
bradlhart opened this issue Feb 11, 2020 · 1 comment
Closed

elliptic .toBuffer() not browser compatible #689

bradlhart opened this issue Feb 11, 2020 · 1 comment
Assignees

Comments

@bradlhart
Copy link
Contributor

Version of EOSJS
v21-rc releases and edge release

Describe the bug
bn.js has a method .toBuffer that does not work in browsers. It is not possible to convert private keys from elliptic as a result.

To Reproduce
Steps to reproduce the behavior:

  1. Convert an Elliptic Private Key to eosjs standard

Expected behavior
The private key is converted correctly.

Desktop (please complete the following information):

  • OS: macOS
  • Browser chrome
  • Version edge
@bradlhart
Copy link
Contributor Author

Currently in edge version and will be included in v21 stable release.

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

No branches or pull requests

1 participant