Tweak check for matching with pool
This commit is contained in:
parent
80ae551ca9
commit
4de22acb3e
|
@ -66,8 +66,8 @@ const computeFill = (
|
||||||
if (
|
if (
|
||||||
!matchedBet ||
|
!matchedBet ||
|
||||||
(outcome === 'YES'
|
(outcome === 'YES'
|
||||||
? prob < matchedBet.limitProb
|
? !floatingGreaterEqual(prob, matchedBet.limitProb)
|
||||||
: prob > matchedBet.limitProb)
|
: !floatingLesserEqual(prob, matchedBet.limitProb))
|
||||||
) {
|
) {
|
||||||
// Fill from pool.
|
// Fill from pool.
|
||||||
const limit = !matchedBet
|
const limit = !matchedBet
|
||||||
|
|
Loading…
Reference in New Issue
Block a user