mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
kivy: minor fixes
This commit is contained in:
parent
b86b3ec1d1
commit
576fbbd074
2 changed files with 2 additions and 4 deletions
|
@ -207,7 +207,7 @@ class ElectrumWindow(App):
|
|||
self._trigger_update_history()
|
||||
|
||||
def on_request_status(self, event, key, status):
|
||||
if key not in self.wallet.requests:
|
||||
if key not in self.wallet.receive_requests:
|
||||
return
|
||||
self.update_tab('receive')
|
||||
if self.request_popup and self.request_popup.key == key:
|
||||
|
|
|
@ -448,9 +448,7 @@ class ReceiveScreen(CScreen):
|
|||
amount = self.app.get_amount(amount) if amount else 0
|
||||
message = self.screen.message
|
||||
if lightning:
|
||||
payment_hash = self.app.wallet.lnworker.add_invoice(amount, message, self.expiry())
|
||||
request, direction, is_paid = self.app.wallet.lnworker.invoices.get(payment_hash.hex())
|
||||
key = payment_hash.hex()
|
||||
key = self.app.wallet.lnworker.add_request(amount, message, self.expiry())
|
||||
else:
|
||||
addr = self.screen.address or self.app.wallet.get_unused_address()
|
||||
if not addr:
|
||||
|
|
Loading…
Add table
Reference in a new issue