bitpay / bitcore-mnemonic

BIP39 Mnemonics implemented for Bitcore
http://bitcore.io
MIT License
155 stars 212 forks source link

FR generated invalid words #31

Closed matiu closed 8 years ago

matiu commented 8 years ago

1) Credentials Should verify roundtrip create/from with fr/passphrase: Mnemonic string is invalid:

caution opprimer époque belote devenir ficeler filleul caneton apologie nectar frapper fouiller
greggzigler commented 8 years ago

Mnemonic._belongsToWordlist seems to look at only the first word of the mnemonic and choose a dictionary based on the first word. Since 'caution' is also in the English dictionary, it returns that.

braydonf commented 8 years ago

Fixed in https://github.com/bitpay/bitcore-mnemonic/pull/32