If any officer fails to comply with the provisions of RCW 43.01.050, he or she shall be liable to the state upon his or her official bond in a sum equal to ten percent annual interest on the funds for such time as he or she retained them.