On the first Tuesday in March, June, September and December, or oftener if he deems it necessary, the comptroller shall carefully examine the accounts of debts and credits in the bank books kept by the treasurer, and if he discovers any irregularity or deficiency therein, he shall, unless the same is rectified or explained to his satisfaction, forthwith report the same in writing to the governor.