Wrong results when using Passphrase
BlockSpaceVictor opened this issue · 1 comments
w = Wallet(mnemonic)
This creates the correct bitcoin keys and derivations, if I check it agains the Samourai BIP44 Mnemonic Code Converter. On path m/44'/0'/0'/0/x, where x is any number, the keys match 100%.
However, as soon as I try:
w = Wallet(mnemonic, passphrase="blah")
The results no longer match Samourai's Code Converter with the same passphrase. They are totally different.
I think there must be an error or mistake in how the passphrase is added into the derivation (assuming that Samourai is doing it correctly), because the results should match.
Nevermind, I was reading passphrases from a txt file, and it turns out that it added some spaces, which meant the passphrases did not match what I put into Samourai to test. Now it works fine.