A person redeeming from a sheriff's sale may pay the required amount either to the holder of the certificate or to the sheriff. If there is a dispute as to the amount required to redeem, the person attempting to redeem shall deposit with the sheriff the amount the person calculates to be due and a written description of the basis for the calculation. The deposit has the effect of a redemption as of the date of deposit, subject to the subsequent payment of any additional amount determined to be due as of that date.
N.D.C.C. § 32-19-18.1