Don't write off the dream. I've just completed 40 years of flying, after being told once I had a dicky heart. Second opinion from a specialist said 'It's not normal, but it's not about to stop either.' Have been under the watchful eye of a cardiologist for last 15 years, who told me I would need a heart valve replacement 'someday'. Had the op last year, turned out to be a repair, not a replacement, and now back to full speed.
Good luck.