Fix openssl version

This commit is contained in:
Rafael Taranto 2018-11-09 11:42:57 -02:00 committed by Josh Harvey
parent 06f8c57608
commit fad819b7e5

View file

@ -20,7 +20,7 @@ echo "Generating mnemonic..."
MNEMONIC_DIR=$CONFIG_DIR/mnemonics MNEMONIC_DIR=$CONFIG_DIR/mnemonics
MNEMONIC_FILE=$MNEMONIC_DIR/mnemonic.txt MNEMONIC_FILE=$MNEMONIC_DIR/mnemonic.txt
mkdir -p $MNEMONIC_DIR >> $LOG_FILE 2>&1 mkdir -p $MNEMONIC_DIR >> $LOG_FILE 2>&1
SEED=$(openssl-1.0 rand -hex 32) SEED=$(openssl rand -hex 32)
MNEMONIC=$($PWD/bin/bip39 $SEED) MNEMONIC=$($PWD/bin/bip39 $SEED)
echo "$MNEMONIC" > $MNEMONIC_FILE echo "$MNEMONIC" > $MNEMONIC_FILE