The value of Soulmate::soulmateOf[msg.sender] in the Soulmate::getDivorced() function has already
been stored in the variable soulmate2. so to access this value you'd better go
through the variable containing it.
The value Soulmate::soulmateOf[msg.sender] is already stored in the variable soulmate2.
So to get this value you just need to call the variable that contains it.
High gas consumption
Foundry
Just call the soulmate2 variable wherever you want to use the value Soulmate::soulmateOf[msg.sender]
in the Soulmate::getDivorced() function.
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.