Remove the useless loop iterator variable for did_wallet

This commit is contained in:
Benedict Jin 2021-05-01 01:32:01 +08:00 committed by Gene Hoffman
parent 1faa5e67af
commit bac1b8db6b

View File

@ -682,7 +682,7 @@ class DIDWallet:
private = master_sk_to_wallet_sk(self.wallet_state_manager.private_key, index)
message = bytes(puzhash)
sigs = [AugSchemeMPL.sign(private, message)]
for c in spend_bundle.coin_solutions:
for _ in spend_bundle.coin_solutions:
sigs.append(AugSchemeMPL.sign(private, message))
aggsig = AugSchemeMPL.aggregate(sigs)
# assert AugSchemeMPL.verify(pubkey, message, aggsig)