Description
The function ChristmasDinner::_refundETH
in charge of refunding the ETH uses transfer()
instead of call()
.
Impact
Depending on the user (if decided to participate using a smart contract wallet), the use of transfer
might render ETH impossible to withdraw due to the 2300 forwarded gas limitation.
Proof of Concepts
Recommended mitigation
Add the following change to the code.
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.