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