specter: use network.wallet.sh to activate wallet

using the bult-in script bitcoind is only restarted if necessary
Fixing: https://github.com/rootzoll/raspiblitz/issues/1273#issuecomment-651774619
This commit is contained in:
openoms 2020-06-30 14:05:03 +01:00
parent 2cd1b65d5e
commit 5cdeb2ffa4
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -86,9 +86,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
if [ ${isInstalled} -eq 0 ]; then
echo "# --> Enable wallets in Bitcoin Core"
sudo sed -i "s/^disablewallet=.*/disablewallet=0/g" /home/bitcoin/.bitcoin/bitcoin.conf
sudo service bitcoind stop
sudo service bitcoind start
/home/admin/config.scripts/network.wallet.sh on
echo "# --> Installing prerequisites"
sudo apt install -y libusb-1.0.0-dev libudev-dev virtualenv