mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-25 19:21:57 +02:00
fix for testnet
This commit is contained in:
@@ -29,7 +29,7 @@ if [ ${#_input} -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# build command
|
# build command
|
||||||
command="lncli --chain=${network} connect ${_input}"
|
command="lncli --chain=${network} --network=${chain}net connect ${_input}"
|
||||||
|
|
||||||
# info output
|
# info output
|
||||||
clear
|
clear
|
||||||
@@ -88,7 +88,7 @@ else
|
|||||||
|
|
||||||
# check if the node is now in peer list
|
# check if the node is now in peer list
|
||||||
pubkey=$(echo $_input | cut -d '@' -f1)
|
pubkey=$(echo $_input | cut -d '@' -f1)
|
||||||
isPeer=$(lncli --chain=${network} listpeers 2>/dev/null| grep "${pubkey}" -c)
|
isPeer=$(lncli --chain=${network} --network=${chain}net listpeers 2>/dev/null| grep "${pubkey}" -c)
|
||||||
if [ ${isPeer} -eq 0 ]; then
|
if [ ${isPeer} -eq 0 ]; then
|
||||||
|
|
||||||
# basic error message
|
# basic error message
|
||||||
|
Reference in New Issue
Block a user