All sums received by the county treasurer for peddlers’ licenses shall be by him credited to the general fund, for the use of the county.