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