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

Update README.md ES5 import #156

Closed
wants to merge 1 commit into from
Closed

Conversation

ageyev
Copy link

@ageyev ageyev commented Oct 7, 2021

const { Wallet } = require('ethereumjs-wallet').default

does not work, should be:

const wallet = require('ethereumjs-wallet').default;

const { wallet } = require('ethereumjs-wallet').default  does not work, should be: const wallet = require('ethereumjs-wallet').default;
@ryanio ryanio changed the title Update README.md Update README.md ES5 import Oct 8, 2021
@ryanio
Copy link
Collaborator

ryanio commented Oct 8, 2021

have added to #157, thank you!

@ryanio ryanio closed this Oct 8, 2021
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

Successfully merging this pull request may close these issues.

2 participants