From d7c7ae9b83d1d1a92bd2c20ec93c592d4c45fc0e Mon Sep 17 00:00:00 2001 From: CodeFace Date: Mon, 16 Oct 2023 21:44:29 +0800 Subject: [PATCH] fix reassign local variable '_' --- electrum/plugins/ledger/ledger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/plugins/ledger/ledger.py b/electrum/plugins/ledger/ledger.py index 81a1d59d6..c73743f4e 100644 --- a/electrum/plugins/ledger/ledger.py +++ b/electrum/plugins/ledger/ledger.py @@ -1088,7 +1088,7 @@ def sign_transaction(self, keystore: Hardware_KeyStore, tx: PartialTransaction, ) # sign opsender - for _, (addrtype, bip32_path, wallet, wallet_hmac) in sorted(sender_wallets.items(), key=lambda y: y[1][0]): + for __, (addrtype, bip32_path, wallet, wallet_hmac) in sorted(sender_wallets.items(), key=lambda y: y[1][0]): print("sign_sender_psbt", addrtype, bip32_path, wallet, wallet_hmac) sender_sigs = self.client.sign_sender_psbt(psbt, bip32_path, wallet, wallet_hmac) for odx, part_sig in sender_sigs: