activeMarketsIds is implemented as Enumerable set
. It's add or remove fucntion returns a boolean. But the return value is not checked in the code.
The code doesn't check the return value of self.activeMarketsIds.remove(marketId).
It's generally good practice to check the return values of operations like remove() on sets.
Low
Manual review
Check return value of enumerable set's remove 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.