commit 79874fcde6d3df1f928c45b5fc9afb71931ecef3
parent 54175a6419fafb08770e14555325c8369bb6a9d4
Author: Kristaps Kaupe <kristaps@blogiem.lv>
Date: Thu, 27 Jan 2022 05:18:28 +0200
Fix onchain payment QR codes according to BIP21 (#38)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/node/bitcoind.py b/node/bitcoind.py
@@ -76,7 +76,7 @@ class btcd:
)
def create_qr(self, uuid, address, value):
- qr_str = "{}?amount={}&label={}".format(address.upper(), value, uuid)
+ qr_str = "bitcoin:{}?amount={}&label={}".format(address, value, uuid)
img = qrcode.make(qr_str)
img.save("static/qr_codes/{}.png".format(uuid))