CurrencyManager::addCurrency function :
CurrencyManager::removeCurrency function :
add and remove are functions from EnumerableSet contract from OpenZeppelin, which returns true in case the operation was successful and false if it was not. But here the return values are not checked.
If function reverts due to some reason we won't be notified which can lead to silent failures.
Manual review
Check the return values of remove and add, incase they fail for some reason it will be easily tracked.
Example :
In addCurrency function
In removeCurrency 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.