No county treasurer shall contract for or purchase, directly or indirectly, any warrant issued by the county of which he is treasurer, at a discount upon the sum due on such warrant. If he contracts for or purchases any such warrant, he shall not be allowed, the amount of the warrant, or any part of it, on settlement, and shall forfeit the whole amount due, to be recovered in an action in the name of the state, for the use of the county.
R.C. §321.21