neogeno / shango-lightning-wallet

Shango Lightning Wallet
66 stars 4 forks source link

QR Scan Fails if Whitespace Removed from Text #54

Closed bcwhite-code closed 5 years ago

bcwhite-code commented 5 years ago

Please submit your issues with the following information

echo -e "$(curl -s ipinfo.io/ip),\n$(xxd -p -c2000 ~/.lnd/data/chain/bitcoin/$NETWORK/admin.macaroon)," > qr.txt && cat ~/.lnd/tls.cert >>qr.txt

When scanning a QR code under "Connect to other LND Nodes", the scan will fail if the QR code generator has stripped linefeeds from the text. It shouldn't but apparently some do.

There are already comma separators and BEGIN/END certificate markers so the absence of whitespace should be acceptable.

neogeno commented 5 years ago

The next build will remove the need to scan the TLS certificate so this whitespace issue can be avoided.

neogeno commented 5 years ago

Please use the latest version of the app and let me know if this still occurs