https://travis-ci.org/github/bitcoin/bitcoin/jobs/679885530#L8791
if (scriptChange.empty() && nChangePosInOut != -1) {
                return false;
            }
        }
        
        txNew.vin.clear();
        std::vector<CInputCoin> selected_coins(setCoins.begin(), setCoins.end());
        Shuffle(selected_coins.begin(), selected_coins.end(), FastRandomContext());
        
        
        
        
        
        
        
        
        const uint32_t nSequence = coin_control.m_signal_bip125_rbf.value_or(m_signal_rbf) ? MAX_BIP125_RBF_SEQUENCE : (CTxIn::SEQUENCE_FINAL - 1);
        for (const auto& coin : selected_coins) {
            txNew.vin.push_back(CTxIn(coin.outpoint, CScript(), nSequence));
        }
        if (sign && !SignTransaction(txNew)) {
            error = _("Signing transaction failed");
            return false;
        }
        
        tx = MakeTransactionRef(std::move(txNew));
        
        if ((sign && GetTransactionWeight(*tx) > MAX_STANDARD_TX_WEIGHT) ||
            (!sign && tx_sizes.second > MAX_STANDARD_TX_WEIGHT))
        {