follow-up previous commit

This commit is contained in:
ThomasV 2020-03-07 23:18:08 +01:00
parent 958898280e
commit 25626cf23b

View file

@ -220,7 +220,9 @@ class SendScreen(CScreen):
self.is_lightning = True
def update(self):
if self.app.wallet and self.payment_request_queued:
if self.app.wallet is None:
return
if self.payment_request_queued:
self.set_URI(self.payment_request_queued)
self.payment_request_queued = None
_list = self.app.wallet.get_invoices()
@ -491,6 +493,8 @@ class ReceiveScreen(CScreen):
return ci
def update(self):
if self.app.wallet is None:
return
_list = self.app.wallet.get_sorted_requests()
_list.reverse()
requests_container = self.ids.requests_container