fix: expiration in invoices
[electrum-nvc.git] / gui / qt / main_window.py
index 9f68e28..0370a3a 100644 (file)
@@ -1320,7 +1320,7 @@ class ElectrumWindow(QMainWindow):
 
     def do_pay_invoice(self, key):
         from electrum.paymentrequest import PaymentRequest
-        domain, memo, value, status, tx_hash = self.invoices[key]
+        domain, memo, value, expiration, status, tx_hash = self.invoices[key]
         pr = PaymentRequest(self.config)
         pr.read_file(key)
         pr.domain = domain