This is to track the regression introduced in master, which needs fixing for 0.14. See #9240, #9371, etc.
{
    return std::max(minTxFee.GetFee(nTxBytes), ::minRelayTxFee.GetFee(nTxBytes));
}
CAmount CWallet::GetMinimumFee(unsigned int nTxBytes, unsigned int nConfirmTarget, const CTxMemPool& pool)
{
    
    CAmount nFeeNeeded = payTxFee.GetFee(nTxBytes);
    
    if (nFeeNeeded == 0) {
        int estimateFoundTarget = nConfirmTarget;
        nFeeNeeded = pool.estimateSmartFee(nConfirmTarget, &estimateFoundTarget).GetFee(nTxBytes);
        
        if (nFeeNeeded == 0)
            nFeeNeeded = fallbackFee.GetFee(nTxBytes);
    }
    
    nFeeNeeded = std::max(nFeeNeeded, GetRequiredFee(nTxBytes));
    
    if (nFeeNeeded > maxTxFee)
        nFeeNeeded = maxTxFee;
    return nFeeNeeded;
}
DBErrors CWallet::LoadWallet(bool& fFirstRunRet)