commit a567c0252bd55a6b73f2f4e66f06ac2e987adeab
parent 8581fefc2d34f55650e535ab320352f5ffd1e07e
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date: Fri, 22 Jan 2021 14:25:14 +1100
fix equality bug
Diffstat:
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):
- if payment.pay_method == 'lnd':
+ if config.pay_method == 'lnd':
qr_str = "{}".format(self.address.upper())
else:
qr_str = "{}?amount={}&label={}".format(self.address.upper(), self.value, self.label)