What is the difference between the following sentences?
Thank you for clearing that up.
Thank you for your clarification.
Which one is more formal?