mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-25 00:59:03 +01:00
Fixed test after rebase
This commit is contained in:
parent
7b18090bc9
commit
aced107a61
1 changed files with 2 additions and 2 deletions
|
@ -380,8 +380,8 @@ class DLCClientTest extends BitcoinSAsyncTest {
|
|||
.asInstanceOf[MultiNonceContractInfo]
|
||||
.outcomeValueFunc
|
||||
.points
|
||||
val left = points(1).outcome.toLongExact
|
||||
val right = points(2).outcome.toLongExact
|
||||
val left = points(1).outcome
|
||||
val right = points(2).outcome
|
||||
// Somewhere in the middle third of the interesting values
|
||||
val outcomeNum =
|
||||
(2 * left + right) / 3 + (outcomeIndex % (right - left) / 3)
|
||||
|
|
Loading…
Add table
Reference in a new issue