This commit is contained in:
qo-op 2020-05-12 02:01:55 +02:00
parent 7f1729d77f
commit 9cd70a0847
1 changed files with 2 additions and 2 deletions

View File

@ -288,11 +288,11 @@ log "__SUB:sms_INIT_ACCOUNT: ($1=phone, $2=NOSMS)"
PIN=$(/home/$YOU/.zen/astroport/zen/tools/diceware.sh | xargs)
python3 ./tools/key_create_dunikey.py "$UIDNA" "$PIN" ## Copy PubSec file to /tmp/secret.dunikey
python3 /home/$YOU/.zen/astroport/zen/tools/key_create_dunikey.py "$UIDNA" "$PIN" ## Copy PubSec file to /tmp/secret.dunikey
mv /tmp/secret.dunikey /home/$YOU/.zen/g1sms_wallets/$PHONE/
PUBKEY=$(cat $DUNIKEYFILE | grep 'pub:' | cut -d ' ' -f 2)
log "__SUB:sms_INIT_ACCOUNT: !! G1 Wallet CREATED: $PHONE = $UIDNA $PIN : $PUBKEY"
[[ $PUBKEY == "" ]] && echo "Problem making secret.dunikey" && exit 1
#######################
# ACTIVATE G1SMS WALLET
#######################