diff options
Diffstat (limited to 'packages/order-utils/src/order_validation_utils.ts')
-rw-r--r-- | packages/order-utils/src/order_validation_utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/order-utils/src/order_validation_utils.ts b/packages/order-utils/src/order_validation_utils.ts index ca4c32543..ae4291ea8 100644 --- a/packages/order-utils/src/order_validation_utils.ts +++ b/packages/order-utils/src/order_validation_utils.ts @@ -146,7 +146,7 @@ export class OrderValidationUtils { signedOrder.makerAddress, ); if (!isValidSignature) { - throw new Error('INVALID_ORDER_SIGNATURE'); + throw new Error(RevertReason.InvalidOrderSignature); } const isCancelled = await this._orderFilledCancelledFetcher.isOrderCancelledAsync(signedOrder); |