Submitted by 0xRajeev
In the Factory contract, the Factory owner is authorized to change approval for governor addresses and is also treated as a governor in the modifier onlyGovernors. However, isGovernor modifier excludes Factory owner as a governor for some reason. This function is used only by Treasury to whitelist users who can deposit tokens and would make sense to include Factory owner as a governor to be consistent.
Without doing so, Factory owner cannot whitelist users without adding itself or someone else as a governor.
Recommend including Factory owner in isGovernor().
Splidge (Reality Cards) acknowledged:
dmvt (Judge) commented:
