mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-10 04:43:10 +02:00
@@ -62,7 +62,7 @@ else
|
|||||||
|
|
||||||
chain=$(${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo | jq -r '.chain')
|
chain=$(${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo | jq -r '.chain')
|
||||||
switchOption="to MAINNET"
|
switchOption="to MAINNET"
|
||||||
if [ "${chain}" = "test" ]; then
|
if [ "${chain}" = "main" ]; then
|
||||||
switchOption="back to TESTNET"
|
switchOption="back to TESTNET"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user