https://travis-ci.org/github/bitcoin/bitcoin/jobs/679885530#L8791
CMutableTransaction txNew;
    FeeCalculation feeCalc;
    CAmount nFeeNeeded;
    std::pair<int64_t, int64_t> tx_sizes;
    int nBytes;
    {
        std::set<CInputCoin> setCoins;
        LOCK(cs_wallet);
        txNew.nLockTime = GetLocktimeForNewTransaction(chain(), GetLastBlockHash(), GetLastBlockHeight());
        {
            std::vector<COutput> vAvailableCoins;
            AvailableCoins(vAvailableCoins, true, &coin_control, 1, MAX_MONEY, MAX_MONEY, 0);
            CoinSelectionParams coin_selection_params; 
            coin_selection_params.m_avoid_partial_spends = coin_control.m_avoid_partial_spends;
            
            
            
            CScript scriptChange;
            
            if (!std::get_if<CNoDestination>(&coin_control.destChange)) {
                scriptChange = GetScriptForDestination(coin_control.destChange);
            } else {