Hi there.Thank you for your question.I will be helping you out with your concerns today.
It is very unlikely for a blood clot to happen on both sides and cause swelling of both the ankles.
I personally think that you have peripheral oedema which could be related to your heart problem.
This can be solved by taking a water pill that functions to remove excess water out of the body via urine.
This session is open for any further questions that you may have. I would appreciate it if you rate me by clicking on one of the rating options at your end on the top right hand corner as that is the only way we, the experts, are credited on here for helping you out.Kindest regards