Merge pull request #38 from vnnkl/fixSwitch

mini fix
This commit is contained in:
Christian Rotzoll 2018-08-08 23:36:54 +02:00 committed by GitHub
commit 7fb49cd44c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ else
chain=$(${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo | jq -r '.chain')
switchOption="to MAINNET"
if [ "${chain}" = "test" ]; then
if [ "${chain}" = "main" ]; then
switchOption="back to TESTNET"
fi