SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 8a76ce33c75c5e85aa77194d9b155e71127b5fac
parent 76c00b1aacf2ac317cab967bc35e8579115d9cc3
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Sun,  3 Jan 2021 10:56:21 +1100

Add uppercase bech32 payment qr

Diffstat:
Minvoice/payment_invoice.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/invoice/payment_invoice.py b/invoice/payment_invoice.py @@ -21,7 +21,7 @@ class invoice: def create_qr(self): - qr_str = "bitcoin:{}?amount={}&label=".format(self.address, self.value, self.label) + qr_str = "BITCOIN:{}?amount={}&label={}".format(self.address.upper(), self.value, self.label) img = qrcode.make(qr_str) img.save('static/qr_codes/{}.png'.format(self.uuid)) return