Accepting payment of the whole principal, as such, waives all claim to interest.

R.L. 1910, § 2850.