https://github.com/Cyfrin/2024-07-the-predicter/blob/main/src/ThePredicter.sol#L62-L70
Misuse of call for Fund Transfer in ThePredicter::cancelRegistration() function. Using the low-level call
function for transferring funds can lead to unexpected behavior if the recipient is a contract with fallback functions.
Using the low-level call
function for transferring funds can lead to unexpected behavior if the recipient is a contract with fallback functions.
This approach might inadvertently introduce vulnerabilities or unexpected interactions if the recipient contract behaves maliciously or unexpectedly.
Manual
Prefer using transfer or send methods for simple fund transfers, which have built-in safety checks.
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.