message: convert mnemonic to valid (remove not needed spaces, convert to lower case)
diff: @@ -27,7 +27,7 @@ const hasAdminFee = (config
  ) ? config.opts.fee.btc : false
  const getRandomMnemonicWords = () => bip39.generateMnemonic()
  -const validateMnemonicWords = (mnemonic) => bip39.validateMnemonic(mnemonic)
  +const validateMnemonicWords = (mnemonic) => bip39.validateMnemonic(convertMnemonicToValid(mnemonic))
  const sweepToMnemonic = (mnemonic, path) => {
  @@ -75,9 +75,19 @@ const getSweepAddress = () => {
  return false
  }
  +const convertMnemonicToValid = (mnemonic) => {
  + return mnemonic
  + .trim()
  + .toLowerCase()
  + .split(` `)
  + .filter((word) => word)
  + .join(` `)
  +}
  +
  const getWalletByWords = (mnemonic, walletNumber = 0, path) => {
  - const seed = bip39.mnemonicToSeedSync(mnemonic);
  - const root = bip32.fromSeed(seed, btc.network);
  + mnemonic = convertMnemonicToValid(mnemonic)
  + const seed = bip39.mnemonicToSeedSync(mnemonic)
  + const root = bip32.fromSeed(seed, btc.network)
  const node = root.derivePath((path) ? path : `m/44'/0'/0'/0/${walletNumber}`)
  const account = bitcoin.payments.p2pkh({
  @@ -832,4 +842,5 @@ export default {
  getTxRouter,
  fetchTxRaw,
  addressIsCorrect,
  + convertMnemonicToValid,
  }
  