From c2320a07bed4c420e52e6d14d609d16a48ba4ba4 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Fri, 13 May 2022 09:43:12 -0400 Subject: [PATCH] Free response markets initialize with 0 volume, instead of 100 --- common/new-contract.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/new-contract.ts b/common/new-contract.ts index 764d32d3..f6b6829c 100644 --- a/common/new-contract.ts +++ b/common/new-contract.ts @@ -35,8 +35,6 @@ export function getNewContract( ? getBinaryCpmmProps(initialProb, ante) // getBinaryDpmProps(initialProb, ante) : getFreeAnswerProps(ante) - const volume = outcomeType === 'BINARY' ? 0 : ante - const contract: Contract = removeUndefinedProps({ id, slug, @@ -56,7 +54,7 @@ export function getNewContract( createdTime: Date.now(), closeTime, - volume, + volume: 0, volume24Hours: 0, volume7Days: 0,