I have had swollen ankles after a couple of grand randonnees (1200 km in 4 days). It's pretty common for your heart to slow down during a ride like that, and one of the resulting symptoms is that there is water buildup in your lower legs. It goes away pretty fast. Hasn't happened to me recently, not sure what the difference is.