diff --git a/functions/src/resolve-market.ts b/functions/src/resolve-market.ts index 6816a8d7..5f297595 100644 --- a/functions/src/resolve-market.ts +++ b/functions/src/resolve-market.ts @@ -30,7 +30,9 @@ export const resolveMarket = functions if ( probabilityInt !== undefined && - (probabilityInt < 1 || probabilityInt > 99 || !isFinite(probabilityInt)) + (probabilityInt < 0 || + probabilityInt > 100 || + !isFinite(probabilityInt)) ) return { status: 'error', message: 'Invalid probability' }