Skip to content

isabella232/web3_toHex_bug

 
 

Repository files navigation

Web3 toHex bug

Steps to reproduce

  1. yarn
  2. yarn generate
  3. cd dist
  4. python -m SimpleHTTPServer 8088
  5. open up js console in localhost:8088 and notice that there are incorrect toHex results
n1 7120861356467848435263064379192047478074060781135320967663101236819528304084
toX 0x2266626534336333366138306533366437633763353834643466386633373539666235316630643636303635643861323237623638386431323438386335643422

if you do yarn dev -o you will see that toHex is working as expected

n1 7120861356467848435263064379192047478074060781135320967663101236819528304084
toX 0xfbe43c36a80e36d7c7c584d4f8f3759fb51f0d66065d8a227b688d12488c5d4

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 85.3%
  • JavaScript 14.7%