Wiped my 2nd Mac a Macbook pro before removing Audirfana 3.5

I did not know i had to deauthorize my Macbook Pro before wiping it for resale. Now it won’t let me activate my new Macbook Pro. The EULA allows to be on two computers so how can I activate the new replacement computer?