iancoleman / bip39

A web tool for converting BIP39 mnemonic codes
https://iancoleman.io/bip39/
MIT License
3.53k stars 1.44k forks source link

InvalidAddressError for Bitcoin Cash Addresses #377

Open D-Nice opened 4 years ago

D-Nice commented 4 years ago

Getting the following error in console for BCH after taking certain reproducible steps to follow. Error in question is included in the following console log file, and occurs on line 129.

iancoleman.io-1574273484226.log

Steps:

  1. Hit Generate
  2. Switch coin to BCA - Bitcoin Atom
  3. Switch coin to BCH - Bitcoin Cash
  4. Check console for the errors, page stays stuck on calculating for BCH and fails to produce keys/addresses

These appears to occur whenever selecting certain coins, and then switching to BCH from them. As an example, if you choose, BCA, then BTC, then BCH, it doesn't happen (on a clean page). The error will occur with more coins than just BCA though.