Heather borrowed $5,000 from James and signed a promissory n…

Heather borrowed $5,000 from James and signed a promissory note payble to James on December 31, 2020, with interest at a rate of 5% per annum.  James negotiated the note to Linda, as payment for an oil painting that Linda sold to James.  Before the note is due, Heather filed bankruptcy and her obligations to pay according to the terms of the note were discharged.  Does Linda have a cause of action against Heather and/or James? Explain.