BaseGauge._updateWeights() function is redundantly coded
BaseGauge._updateWeights() uses a `if` structure that has no utility, as both if and else use exactly the same code.
Used `if` struct has no utility, the function consumes more gas whenever it is called and the code is clunkier and more difficult to read.
Manual review
Remove the if/else structure and do not repeat the code.
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.