Skip to content

Commit 95317f4

Browse files
committed
(trivial) wallet: fix stale comment on on_event_invoice_status
The followup rename (_paid_invoice_keys -> _paid_invoice_keys_cache) and the de-sloppify left this comment referring to the old name and claiming the listener only tracks LN-driven changes; it is now the population path for onchain invoices too.
1 parent 63ee2f3 commit 95317f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

electrum/wallet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ def on_event_adb_removed_verified_tx(self, adb, tx_hash):
662662

663663
@event_listener
664664
def on_event_invoice_status(self, wallet, key, status):
665-
# keep _paid_invoice_keys in sync with LN-driven status changes
665+
# keep _paid_invoice_keys_cache in sync with all invoice status changes
666666
if wallet != self:
667667
return
668668
if status == PR_PAID:

0 commit comments

Comments
 (0)