Whenever a financial institution is designated by the treasurer in accordance with the provisions of this chapter, as a depositary for funds to be kept by the treasurer of such city or town and such financial institution has filed and had approved a contract with such city or town and complied with chapter
39.58 RCW, such contract shall not be invalid by reason of any official of the city being also an officer, employee, or stockholder of such financial institution.