Update contracts/exchange/test/internal.ts
Co-Authored-By: Lawrence Forman <lawrence@0xproject.com>
This commit is contained in:
parent
a39f93bcff
commit
b75aa02b0d
@ -366,7 +366,7 @@ describe('Exchange core internal functions', () => {
|
|||||||
}
|
}
|
||||||
const isRoundingError = await referenceIsRoundingErrorCeilAsync(numerator, denominator, target);
|
const isRoundingError = await referenceIsRoundingErrorCeilAsync(numerator, denominator, target);
|
||||||
if (isRoundingError) {
|
if (isRoundingError) {
|
||||||
throw roundingErrorForCall();
|
throw roundingErrorForCall;
|
||||||
}
|
}
|
||||||
const product = numerator.multipliedBy(target);
|
const product = numerator.multipliedBy(target);
|
||||||
const offset = product.plus(denominator.minus(1));
|
const offset = product.plus(denominator.minus(1));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user