Remove auction already used check

This commit is contained in:
2024-10-21 10:22:33 +05:30
parent 7284cfb401
commit c771dec726
-6
View File
@@ -891,10 +891,4 @@ def confirm_auction(laconic: LaconicRegistryClient, record, deployer_lrn, paymen
logger.log(f"{record.id}: deployer payment address not in auction winners.")
return False
# Check if the auction was already used on a deployment
used = laconic.app_deployments({"deployer": deployer_lrn, "auction": auction_id}, all=True)
if len(used):
logger.log(f"{record.id}: auction {auction_id} already used on deployment {used}")
return False
return True