filter out redemption bets

This commit is contained in:
mantikoros 2022-03-09 23:23:43 -06:00
parent b550bbe07d
commit a0833b4764

View File

@ -14,7 +14,9 @@ export function ContractProbGraph(props: {
const { contract } = props
const { resolutionTime, closeTime } = contract
const bets = useBetsWithoutAntes(contract, props.bets)
const bets = useBetsWithoutAntes(contract, props.bets).filter(
(b) => !b.isRedemption
)
const startProb = getInitialProbability(contract)