mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
lnd seedwords not BIP39, skip test #2832
This commit is contained in:
parent
0e9a45e647
commit
df4f835cb5
1 changed files with 2 additions and 20 deletions
|
@ -517,26 +517,8 @@ if [ ${mode} = "seed-import-gui" ]; then
|
|||
# check correct number of words
|
||||
wordcount=$(echo "${wordstring}" | wc -w)
|
||||
if [ ${wordcount} -eq 24 ]; then
|
||||
|
||||
# check if words are valid seed
|
||||
source <(python /home/admin/config.scripts/blitz.mnemonic.py test "${wordstring}")
|
||||
if [ "${valid}" == "0" ]; then
|
||||
whiptail --title " WARNING " --yes-button "Try Again" --no-button "Cancel" --yesno "
|
||||
The word list has 24 words BUT its not a
|
||||
valid seed word list by our test.
|
||||
|
||||
Please check for typos.
|
||||
|
||||
" 12 52
|
||||
if [ $? -eq 1 ]; then
|
||||
clear
|
||||
echo "# CANCEL empty results in: ${RESULTFILE}"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "OK - 24 words"
|
||||
wordsCorrect=1
|
||||
fi
|
||||
else
|
||||
whiptail --title " WARNING " \
|
||||
--yes-button "Try Again" \
|
||||
|
@ -545,8 +527,8 @@ Please check for typos.
|
|||
The word list has ${wordcount} words. But it must be 24.
|
||||
Please check your list and try again.
|
||||
|
||||
Best is to write words in external editor
|
||||
and then copy and paste them into dialog.
|
||||
Best is to write words in an external editor
|
||||
and then copy and paste them into the dialog.
|
||||
|
||||
The word list should look like this:
|
||||
wordone wordtwo wordthree ...
|
||||
|
|
Loading…
Add table
Reference in a new issue