fix rand pw length value

This commit is contained in:
Jeffrey Paul 2019-09-18 14:21:57 -07:00
parent cfab0eb894
commit 5ba1ec8b2c
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
export HOME="/var/lib/bitcoind"
# gen random pw for rpc server
RANDOMPW=$(openssl rand -hex 20)
RANDOMPW=$(openssl rand -hex 10)
cat <<EOF > $HOME/bitcoin.conf
rpcuser=${BITCOIND_RPCUSER:-rpcuser}