Admin bitcoin-cli works in testnet mode now
This commit is contained in:
parent
2528f52751
commit
537652f055
|
@ -10,6 +10,12 @@ sleep 60s
|
|||
cp -f /mnt/hdd/mynode/bitcoin/.cookie /home/admin/.bitcoin/.cookie
|
||||
chown admin:admin /home/admin/.bitcoin/.cookie
|
||||
|
||||
if [ -f /mnt/hdd/mynode/bitcoin/testnet3/.cookie ]; then
|
||||
mkdir -p /mnt/hdd/mynode/bitcoin/testnet3
|
||||
cp -f /mnt/hdd/mynode/bitcoin/testnet3/.cookie /home/admin/.bitcoin/testnet3/.cookie
|
||||
chown -R admin:admin /home/admin/.bitcoin/testnet3
|
||||
fi
|
||||
|
||||
# Make default wallets
|
||||
bitcoin-cli createwallet joinmarket_wallet.dat > /dev/null 2>&1 || true
|
||||
bitcoin-cli loadwallet joinmarket_wallet.dat > /dev/null 2>&1 || true
|
||||
|
|
Loading…
Reference in New Issue
Block a user