diff --git a/core/src/main/scala/org/bitcoins/core/protocol/dlc/DLCPayoutCurve.scala b/core/src/main/scala/org/bitcoins/core/protocol/dlc/DLCPayoutCurve.scala index 5a5ce22ed7..42bc65048e 100644 --- a/core/src/main/scala/org/bitcoins/core/protocol/dlc/DLCPayoutCurve.scala +++ b/core/src/main/scala/org/bitcoins/core/protocol/dlc/DLCPayoutCurve.scala @@ -171,7 +171,7 @@ sealed trait DLCPayoutCurveComponent { protected def bigDecimalSats(bd: BigDecimal): Satoshis = { Satoshis( bd.setScale(6, RoundingMode.HALF_UP) - .setScale(0, RoundingMode.FLOOR) + .setScale(0, RoundingMode.HALF_UP) .toLongExact) } }