M5StackSats icon indicating copy to clipboard operation
M5StackSats copied to clipboard

LND Version - QR Code broken?

Open netvader opened this issue 5 years ago • 3 comments

I actually use a RaspiBlitz 1.5.1 with lnd 0.10.0- beta and bitcoin 0.20.0 mainnet

The connection to the node seems to be working, I can enter an amount and display a QR code. Unfortunately this QR code is faulty (seems empty)

I have already tried it with SSL/TLS and the following, even without success. Is it the new lnd and bitcoin version or could it be something else?

netvader avatar Jun 10 '20 07:06 netvader

You have tried removing all the cert calls? Can you make use Curl in terminal to make a request to LND? Try printing out in Arduino Serial whatever comes back from LND Serial.println(payreq);

rachelbryan avatar Jun 11 '20 15:06 rachelbryan

I have the same problem with the BTCPay Server version – the payment request I get is valid, but the generated QR code cannot be read. There are also #27 and #36 (the latter may be caused by changes in LNbits and hence would not be related to this one), so there might be a general problem with the QR codes.

dennisreimann avatar Jul 03 '20 17:07 dennisreimann

I fixed this for the BTCPay Server version. The payment request needs to be uppercased before display, guess this is also the problem here.

dennisreimann avatar Jul 05 '20 20:07 dennisreimann