mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
#610 fix lncli for litecoin
This commit is contained in:
parent
0e5985a4bc
commit
bb302a7fd8
2 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ if [ ${lndRunning} -eq 1 ]; then
|
||||||
|
|
||||||
# get LND info
|
# get LND info
|
||||||
lndRPCReady=1
|
lndRPCReady=1
|
||||||
lndinfo=$(sudo -u bitcoin lncli getinfo 2>/mnt/hdd/temp/.lnd.error)
|
lndinfo=$(sudo -u bitcoin lncli --chain=${network} --network=${chain}net getinfo 2>/mnt/hdd/temp/.lnd.error)
|
||||||
|
|
||||||
# check if error on request
|
# check if error on request
|
||||||
lndErrorFull=$(cat /mnt/hdd/temp/.lnd.error 2>/dev/null)
|
lndErrorFull=$(cat /mnt/hdd/temp/.lnd.error 2>/dev/null)
|
||||||
|
|
|
@ -152,7 +152,7 @@ elif [ "${exportType}" = "reset" ]; then
|
||||||
echo "- restarting LND ... wait 10 secs"
|
echo "- restarting LND ... wait 10 secs"
|
||||||
sudo systemctl start lnd
|
sudo systemctl start lnd
|
||||||
sleep 10
|
sleep 10
|
||||||
sudo -u bitcoin lncli unlock
|
sudo -u bitcoin lncli --chain=${network} --network=${chain}net unlock
|
||||||
echo "- creating new macaroons ... wait 10 secs"
|
echo "- creating new macaroons ... wait 10 secs"
|
||||||
sleep 10
|
sleep 10
|
||||||
echo "- copy new macaroons to admin user"
|
echo "- copy new macaroons to admin user"
|
||||||
|
|
Loading…
Add table
Reference in a new issue