A second-round pick will go to Miami to close the loop on the controversial transaction.