change order of user dialogs

This commit is contained in:
Christian Rotzoll 2019-04-16 15:10:15 +01:00
parent d0c683a26b
commit d81115a518

View File

@ -227,6 +227,12 @@ or having a complete LND rescue-backup from your old node.
fi
fi
# let user enter password c
sudo shred /home/admin/.pass.tmp 2>/dev/null
sudo ./config.scripts/blitz.setpassword.sh x "Set your Password C for the LND Wallet Unlock" /home/admin/.pass.tmp
passwordC=`sudo cat /home/admin/.pass.tmp`
sudo shred /home/admin/.pass.tmp 2>/dev/null
# get seed word list
if [ "${CHOICE}" == "SEED+SCB" ] || [ "${CHOICE}" == "ONLYSEED" ]; then
@ -273,12 +279,6 @@ to protect the seed words. Most users did not set this.
fi
# let user enter password c
sudo shred /home/admin/.pass.tmp 2>/dev/null
sudo ./config.scripts/blitz.setpassword.sh x "Set your Password C for the LND Wallet Unlock" /home/admin/.pass.tmp
passwordC=`sudo cat /home/admin/.pass.tmp`
sudo shred /home/admin/.pass.tmp 2>/dev/null
if [ "${CHOICE}" == "ONLYSEED" ]; then
# trigger wallet recovery