@ -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