From f5b0b4deece25d7cb409301bcc4a1aa071801886 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Thu, 4 Apr 2019 04:10:46 +0100 Subject: [PATCH] display qr code image --- home.admin/97addMobileWalletLNDconnect.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/home.admin/97addMobileWalletLNDconnect.sh b/home.admin/97addMobileWalletLNDconnect.sh index d7204f8..82d78ee 100755 --- a/home.admin/97addMobileWalletLNDconnect.sh +++ b/home.admin/97addMobileWalletLNDconnect.sh @@ -99,10 +99,10 @@ fi # write qr code data to text file #echo -e "${host}:${port},\n$(xxd -p -c2000 ./.lnd/data/chain/${network}/${chain}net/admin.macaroon)," > qr.txt -lndconnect --host=${host} --port=${port} --image qr.png +lndconnect --host=${host} --port=${port} --image # display qr code on LCD -./XXdisplayLCD.sh qr.png +./XXdisplayLCD.sh lndconnect-qr.png # show pairing info msg="" @@ -123,7 +123,7 @@ fi # clean up ./XXdisplayQRlcd_hide.sh -shred qr.png 2> /dev/null -rm -f qr.png 2> /dev/null +shred lndconnect-qr.png 2> /dev/null +rm -f lndconnect-qr.png 2> /dev/null shred qr.txt 2> /dev/null rm -f qr.txt 2> /dev/null \ No newline at end of file