From 9cd70a08475c67f5d7d5fa0a54876f01ab476c99 Mon Sep 17 00:00:00 2001 From: qo-op Date: Tue, 12 May 2020 02:01:55 +0200 Subject: [PATCH] export --- g1sms/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/g1sms/functions.sh b/g1sms/functions.sh index cd91c51..32cd013 100755 --- a/g1sms/functions.sh +++ b/g1sms/functions.sh @@ -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 #######################