The duties of a depository are hereby made the same in respect to the municipal fund as the duties imposed upon county depositories or in respect to county funds. The penalties for making profit on or removing municipal funds are hereby made the same as those provided by law against making profit on or removing county funds.