|
|
@ -64,7 +64,7 @@ class QERequestDetails(QObject): |
|
|
|
statusChanged = pyqtSignal() |
|
|
|
@pyqtProperty(int, notify=statusChanged) |
|
|
|
def status(self): |
|
|
|
req = self._wallet.get_request(self._key) |
|
|
|
req = self._wallet.wallet.get_request(self._key) |
|
|
|
return self._wallet.wallet.get_invoice_status(req) |
|
|
|
|
|
|
|
statusStringChanged = pyqtSignal() |
|
|
@ -72,7 +72,6 @@ class QERequestDetails(QObject): |
|
|
|
def status_str(self): |
|
|
|
return self._req.get_status_str(self.status) |
|
|
|
|
|
|
|
|
|
|
|
@pyqtProperty(bool, notify=detailsChanged) |
|
|
|
def isLightning(self): |
|
|
|
return self._req.is_lightning() |
|
|
|