Wrong value ofregistry
is set in GivingThanks.sol
's constructor.
In the constructor of GivingThanks.sol
the registry variable is set to msg.sender
instead of actual argument passed in constructor(address _registry)
In GivingThanks.sol
the registry will be set to the msg.sender
and registry.isVerfied(charity)
can't be called in function donate(address charity)
causing it to always revert.
Manual Review
In the constructor of GivingThanks.sol
Make these changes
Likelyhood: High, the parameter is not well used and won't be set. Impact: Low, can be changed with the setter and no one will be able to donate to malicious charity.
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.