fix typo: wallet.requests -> wallet.receive_requests (#5706)

This commit is contained in:
fiatjaf 2019-10-15 10:22:05 -03:00 committed by ghost43
parent 3af7920b63
commit b476681af7

View file

@ -1690,7 +1690,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
self.invoice_list.update() self.invoice_list.update()
def on_request_status(self, key, status): def on_request_status(self, key, status):
if key not in self.wallet.requests: if key not in self.wallet.receive_requests:
return return
if status == PR_PAID: if status == PR_PAID:
self.notify(_('Payment received') + '\n' + key) self.notify(_('Payment received') + '\n' + key)