From 4b123d47eeba11183ca652d94c99922edfa76cac Mon Sep 17 00:00:00 2001 From: mantikoros Date: Wed, 15 Dec 2021 16:27:57 -0600 Subject: [PATCH] change starting balance to 100 --- web/lib/firebase/users.ts | 2 +- web/lib/service/create-contract.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/lib/firebase/users.ts b/web/lib/firebase/users.ts index 42739542..03088bda 100644 --- a/web/lib/firebase/users.ts +++ b/web/lib/firebase/users.ts @@ -14,7 +14,7 @@ import { signInWithPopup, } from 'firebase/auth' -export const STARTING_BALANCE = 1000 +export const STARTING_BALANCE = 100 export type User = { id: string diff --git a/web/lib/service/create-contract.ts b/web/lib/service/create-contract.ts index c57738d0..3c46592d 100644 --- a/web/lib/service/create-contract.ts +++ b/web/lib/service/create-contract.ts @@ -42,7 +42,7 @@ export async function createContract( return contract } -export function calcSeedBets(initialProb: number, initialCapital = 1000) { +export function calcSeedBets(initialProb: number, initialCapital = 100) { const p = initialProb / 100.0 const seedYes =