Add required space to [[ -n "$1" ]] (previously [[ -n"$1" ]])
Add required space to [[ -n "$1" ]] (previously [[ -n"$1" ]])

chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin