The withdrawFees()
function uses transfer
to withdraw funds from the contract to the owner's address.
In line 146 of the SpookySwap contract where the withdrawFees()
function was defined, was transfer
used as the method to send ether to the owner from the contract
The function is at risk of reentrancy attack as the transfer
method is not the best way to send ether
The call
method should be used instead of transfer
.
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.