Part of #36692:
Build the funding output in MakeCoin() from coinselection_tests with a CTxOut constructor instead of vout.resize(1) followed by assigning nValue. Test-only change, the constructed txns are unchanged and the empty scriptPubKey that resize() left implicit is now explicit.