diff --git a/protocol/x/clob/memclob/memclob.go b/protocol/x/clob/memclob/memclob.go index 71e0268498..5a4a88ce7d 100644 --- a/protocol/x/clob/memclob/memclob.go +++ b/protocol/x/clob/memclob/memclob.go @@ -2208,10 +2208,7 @@ func (m *MemClobPriceTimePriority) getImpactPriceSubticks( // Impact order was fully matched. Calculate average impact price. return types.GetAveragePriceSubticks( impactNotionalQuoteQuantums, - new(big.Int).Div( - accumulatedBaseQuantums.Num(), - accumulatedBaseQuantums.Denom(), - ), + lib.BigRatRound(accumulatedBaseQuantums, true), clobPair.QuantumConversionExponent, ), true }