There is no check for collection existence.
The _white_list_collection function assumes that the collection to be removed exists in the list.
If the collection doesn't exist in the list, the loop will traverse the entire list without finding the collection. After the loop, it will still execute self.white_listed_list.write(collection, (false, no_value));
.
The function creates a new entry for a non-existent collection and marks it as inactive.
Manual review
Add a check to see if the collection was found, and only modify the state if it was found.
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.