From a5b0f542338e6d23665bb97c8127ad920c2abc63 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Sat, 2 Feb 2019 23:27:13 +0100 Subject: [PATCH] fix network/chain detection --- home.admin/_bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home.admin/_bootstrap.sh b/home.admin/_bootstrap.sh index 206154f..dcd01f2 100644 --- a/home.admin/_bootstrap.sh +++ b/home.admin/_bootstrap.sh @@ -330,7 +330,7 @@ sed -i "s/^message=.*/message='waiting login'/g" ${infoFile} # check for BITCOIN loaded=$(sudo systemctl status bitcoind | grep -c 'loaded') if [ ${loaded} -gt 0 ]; then - sed -i "s/^network=.*/chain=bitcoin/g" ${infoFile} + sed -i "s/^network=.*/network=bitcoin/g" ${infoFile} source /mnt/hdd/bitcoin/bitcoin.conf if [ ${testnet} -gt 0 ]; then sed -i "s/^chain=.*/chain=test/g" ${infoFile} @@ -342,7 +342,7 @@ fi # check for LITECOIN loaded=$(sudo systemctl status litecoind | grep -c 'loaded') if [ ${loaded} -gt 0 ]; then - sed -i "s/^network=.*/chain=litecoin/g" ${infoFile} + sed -i "s/^network=.*/network=litecoin/g" ${infoFile} sed -i "s/^chain=.*/chain=main/g" ${infoFile} fi