This commit is contained in:
Thomas E Lackey 2024-08-19 19:39:43 -05:00
parent 2f1cde16b7
commit 09c9214e4c

View File

@ -110,10 +110,11 @@ def confirm_payment(laconic, record, payment_address, min_amount, logger):
)
return False
owner = laconic.get_owner(record)
if tx.sender != owner:
req_owner = laconic.get_owner(record)
if tx.sender != req_owner:
logger.log(
f"{record.id}: payment sender {tx.sender} in tx {tx.hash} does not match deployment request {owner}"
f"{record.id}: payment sender {tx.sender} in tx {tx.hash} does not match deployment "
f"request owner {req_owner}"
)
return False