Cal. Civ. Code § 3290
Accepting payment of the whole principal, as such, waives all claim to interest.