We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
web3.utils.randomHex
web3.utils.randomHex should defined and work
web3.utils.randomHex is not a function. It's undefined.
import Web3 from 'web3'; const web3 = new Web3('http://localhost:8545'); console.log(typeof web3.utils.randomHex);
TypeError: web3.utils.randomHex is not a function
Web3.js - 1.0.0-beta.41
The text was updated successfully, but these errors were encountered:
Can confirm this bug, OS X, NodeJS 10.14
Rolled back to beta37, it works OK there.
npm i [email protected]
Edit: on beta37, there is another bug: /issues/2077, so rolling back to beta35. Nevermind Lambo, when stable release 😁
Sorry, something went wrong.
Thanks for submitting this issue! I'll fix this issue on Monday.
I'm closing this issue because it got already reported and fixed in #2238
No branches or pull requests
Expected behavior
web3.utils.randomHex
should defined and workActual behavior
web3.utils.randomHex
is not a function. It's undefined.Steps to reproduce the behavior
Error Logs
TypeError: web3.utils.randomHex is not a function
Versions
Web3.js - 1.0.0-beta.41
The text was updated successfully, but these errors were encountered: