Fix openssl version
This commit is contained in:
parent
06f8c57608
commit
fad819b7e5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue