1
0

plugins: psbt_nostr: trivial rename

pycharm static analyser was getting confused and thinking this line was rebinding "_" from i18n._
(but AFAICT that's a bug in the static analyser)
This commit is contained in:
SomberNight
2025-06-10 14:48:20 +00:00
parent f846a16f07
commit 65bc28056c

View File

@@ -193,7 +193,7 @@ class CosignerWallet(Logger):
if event.id in self.known_events:
self.logger.info(f'known event {event.id} {util.age(event.created_at)}')
continue
if not any(event.pubkey == pubkey for _, pubkey in self.cosigner_list):
if not any(event.pubkey == pubkey for _xpub, pubkey in self.cosigner_list):
self.logger.warning(f"got event from unknown author: {event.pubkey}")
continue
if event.created_at > now() + self.KEEP_DELAY: