Browse Source

wallet API: remove get_request_status, it is redundant with get_invoice_status

patch-4
ThomasV 2 years ago
parent
commit
7d317761da
  1. 2
      electrum/wallet.py

2
electrum/wallet.py

@ -2363,7 +2363,7 @@ class Abstract_Wallet(ABC, Logger, EventListener):
return self.export_request(x)
def export_request(self, x: Invoice) -> Dict[str, Any]:
key = self.get_key_for_receive_request(x)
key = x.get_id()
status = self.get_invoice_status(x)
status_str = x.get_status_str(status)
is_lightning = x.is_lightning()

Loading…
Cancel
Save