Curry is leaving around $20 million on the table with the new deal.