Skip to content
New issue

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

Invalid mnemonic on linux #1

Open
Atomosk opened this issue Mar 17, 2021 · 1 comment
Open

Invalid mnemonic on linux #1

Atomosk opened this issue Mar 17, 2021 · 1 comment

Comments

@Atomosk
Copy link

Atomosk commented Mar 17, 2021

It seems that the nuget package was compiled on windows platform with \r\n line endings. Environment.NewLine is \n on linux. Therefore this line
https://github.com/elucidsoft/dotnetstandard-bip39/blob/master/dotnetstandard-bip39/BIP39.cs#L233
Produces the { "abandon\r", "ability\r", "able\r", "about\r" ... } array and line
https://github.com/elucidsoft/dotnetstandard-bip39/blob/master/dotnetstandard-bip39/BIP39.cs#L62
fails to find anything.

@darkfriend77
Copy link
Contributor

#2

Should fix the issue, would be nice to have a new nuget published :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants