There is no check for the soulmate 2 existence in the getDivorced()
function.
If there is no soulmate 2 existed, couples cannot be divorced. And we cannot emit the event as CoupleHasDivorced
inside the getDivorced()
function.
Manually
Add require statement inside the getDivorced()
function in Soulmate.sol
contract:
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.