GivingThankscontract use external contract CharityRegistry. Deployer of the contract should place address of the CharityRegistercontract as an input.
In the constructor, there is a mistake which do not allow to use external contract. As a parameter of registry = CharityRegistry(...) there should be address of CharityRegistry which is input of constructor instead of msg.senderaddress.
GivingThanks contract will lose functionality. For example users won't be able to donate beacuse it will be impossible to check if charity is verified.
Manual Review
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.