onlyOwners
modifier and constructor logic contradict each other:
modifier onlyOwners
This strictly enforces that msg.sender
must be both owner1
and owner2
(due to the &&
condition).
However, this is logically impossible, since msg.sender
can only be one address at a time.
constructor
The constructor ensures that owner1
and owner2
are different addresses.
This contradicts the onlyOwners
modifier, which requires msg.sender
to be both at the same time.
Error: Logical contradiction
No transaction can ever pass the onlyOwners
check because msg.sender
can never be both owner1
and owner2
.
This makes any function with onlyOwners
completely unusable, like submitTransaction
, approveTransaction
, executeTransactions
Manual
Replace the incorrect &&
condition with ||
(OR instead of AND):
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.