seed result

This commit is contained in:
Christian Rotzoll
2019-04-16 03:59:45 +01:00
parent 35d74be7c8
commit 09e17f68d6

View File

@@ -213,10 +213,10 @@ if [ ${walletExists} -eq 0 ]; then
do do
# dialog to enter # dialog to enter
$_temp="/home/admin/.seed.tmp" #$_temp="/home/admin/.seed.tmp"
dialog --backtitle "RaspiBlitz - LND Recover" --inputbox "Please enter/paste the SEED WORD LIST:\n(just the words, seperated by commas, in correct order as numbered)" 9 78 2>$_temp wordstring=$(dialog --backtitle "RaspiBlitz - LND Recover" --inputbox "Please enter/paste the SEED WORD LIST:\n(just the words, seperated by commas, in correct order as numbered)" 9 78)
wordstring=$( cat $_temp | tr -dc '[:alnum:]-.' | tr -d ' ' ) #wordstring=$( cat $_temp | tr -dc '[:alnum:]-.' | tr -d ' ' )
shred $_temp #shred $_temp
echo "processing ..." echo "processing ..."
# remove spaces # remove spaces