If the judgment is not stayed by the execution of bond as aforesaid, the sheriff must, after the expiration of 10 days, advertise and sell the boat or vessel, her tackle, etc., in the same manner as the sales under execution and, after deducting all necessary expenses of the seizure and costs of sale, of which he shall render an account on oath, pay the residue to the county treasurer of the county in which the seizure is made, who may allow him 10 percent thereon for his trouble. The money thus received by the treasurer must be held for the same purpose as that arising from fines and forfeitures.