Referral::getReferrerAddress
and Referral::getCustomReferralCodeReferrer
may return address(0)
. Inside referrerConfiguration
, there is no check that such referrerCode
exists meaning that an empty ConfigurationData
will be returned. This will mean that when the address is decoded it will return address(0)
.
Zero address decoded for referral address.
Manual Review
Add a check in referrerConfiguration
that referrerCode
exists.
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.