From everything I read it was consensual. But that raises a larger moral question. Is it really consent if you're about to die? I think that almost anyone given the choice to either die or get a pig heart will choose the latter, there's a good chance you will die if you get the transplant but there is a 100% chance that you will die if you don't.
I don't think that is necessarily true - people reject potentially lifesaving treatments all the time for many different reasons. Yes, the desire to live is very strong in us, but it's not infinite.
Since it's consent to do the best option available and he wasn't put into the position of needing the help by the ones offering it I don't think it's much of a moral issue. Usually the moral problems come when less than ideal alternatives are proposed or people are forced into a situation where they otherwise wouldn't have had to choose. I.e. conflict of interest stuff from the ones proposing to get consent to try to help.