All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
As for the part of your leg that was tainted by Madhy, it is not enough to wipe it, rather, water must be poured over it until the impurity is removed.
It was stated in Kashshaf al-Qinaa' by Al-Bahuti Al-Hanbali:
What is meant by Al-Mokatharah is pouring water over the impurity (to immerse it until there is no mass, trace of color, or smell left for the impurity).
Allah knows best.