-
Notifications
You must be signed in to change notification settings - Fork 5.1k
isBN breaks in production #1777
Comments
Hay @epiqueras I've tested it with the minified version of web3 and cant reproduce your case. Tested with:
The result I got: |
@nivida
|
I think it should be solved with the PR #2000 |
@nivida what makes you think that? I have just looked at the code and |
Ran into this issue in a Web3 should use the isBN function from the BN.js library directly. |
This is still a problem. Bumping the version of "resolutions": {
"bn.js": "4.11.8"
} |
Minifying the code makes the BN instance's
constructor.name !== 'BN'
so it breaks web3's implementation ofisBN
.The text was updated successfully, but these errors were encountered: