Need more opinions on a purchase i made

I have the opportunity to upgrade my i5 3470 to an i7 3770 (stock cooler included) for 40 eur.
Do you guys consider this a good deal?
I would also sell the i5 3470 with the stock cooler i got from the i7
imo it should almost be a break even