The legacy of a credit against a third person or of a release or waiver of a debt of the legatee shall be valid only with regard to that part of the credit or debt existing at the time of the death of the testator.
In the first case, the heir shall perform by assigning to the legatee all the actions he may have against the debtor.
In the second, by giving the legatee a receipt, should he request one.
In both cases the legacy shall include the interest which may be due the testator at the time of his death on the credit or debt.
History —Civil Code, 1930, § 792.