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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user