This hard knot is probably a remnant from the infection. Infections such as cellulitis can cause fibrosis and this can leave a hard knot in the area. You should not worry about this. It will usually go away in time. Sometimes a knot remains there permanently, this also is nothing to worry about. Just give it time and it will go away, or at least become much smaller than now.
I hope this answer was helpful. If you need more information, feel free to ask. For accepting this answer, please click on the green 'accept' button below. Feedback/Bonus will be warmly appreciated.

