On filing the certificate of sale as provided herein, the lien of the assessment vests in the purchaser and is only divested by the payment to the county treasurer making the sale of the purchase money, the costs of the certificate, and interest thereon at twelve percent per annum from the date of sale until redemption for the use of the purchaser.