An obligation is extinguished by an offer of performance, made in conformity to the rules herein prescribed, and with intent to extinguish the obligation.
(Enacted 1872.)