Remove deprecated antes

This commit is contained in:
Austin Chen 2022-06-14 03:39:14 -07:00
parent 14864a9f7e
commit 8d97eb6f63
2 changed files with 0 additions and 5 deletions

View File

@ -14,10 +14,6 @@ import { ENV_CONFIG } from './envs/constants'
export const FIXED_ANTE = ENV_CONFIG.fixedAnte ?? 10 export const FIXED_ANTE = ENV_CONFIG.fixedAnte ?? 10
// deprecated
export const PHANTOM_ANTE = 0.001
export const MINIMUM_ANTE = 50
export const HOUSE_LIQUIDITY_PROVIDER_ID = 'IPTOzEqrpkWmEzh6hwvAyY9PqFb2' // @ManifoldMarkets' id export const HOUSE_LIQUIDITY_PROVIDER_ID = 'IPTOzEqrpkWmEzh6hwvAyY9PqFb2' // @ManifoldMarkets' id
export function getCpmmInitialLiquidity( export function getCpmmInitialLiquidity(

View File

@ -109,7 +109,6 @@ export function NewContract(props: { question: string }) {
question.length > 0 && question.length > 0 &&
ante !== undefined && ante !== undefined &&
ante !== null && ante !== null &&
ante >= MINIMUM_ANTE &&
(ante <= balance || (ante <= balance ||
(mustWaitForDailyFreeMarketStatus != 'loading' && (mustWaitForDailyFreeMarketStatus != 'loading' &&
!mustWaitForDailyFreeMarketStatus)) && !mustWaitForDailyFreeMarketStatus)) &&