diff options
author | Jacob Evans <dekz@dekz.net> | 2018-08-16 10:13:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-16 10:13:27 +0800 |
commit | 480d28ea26be86d685d81059a0dbe4cd025f0c21 (patch) | |
tree | 8b8b72f1945a7d85f11af14f16338a059cc9f900 /packages/website | |
parent | f9f232f5d9527926cd64027f69491b0bc6e58894 (diff) | |
parent | 88c99396a2d1b880bffb21ef19507d02b474ba9b (diff) | |
download | dexon-sol-tools-480d28ea26be86d685d81059a0dbe4cd025f0c21.tar dexon-sol-tools-480d28ea26be86d685d81059a0dbe4cd025f0c21.tar.gz dexon-sol-tools-480d28ea26be86d685d81059a0dbe4cd025f0c21.tar.bz2 dexon-sol-tools-480d28ea26be86d685d81059a0dbe4cd025f0c21.tar.lz dexon-sol-tools-480d28ea26be86d685d81059a0dbe4cd025f0c21.tar.xz dexon-sol-tools-480d28ea26be86d685d81059a0dbe4cd025f0c21.tar.zst dexon-sol-tools-480d28ea26be86d685d81059a0dbe4cd025f0c21.zip |
Merge pull request #959 from 0xProject/bug/order-utils/rounding-error-small-maker
[Order-utils] Order is valid when maker amount is very small
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/ts/utils/utils.ts | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts index 39bbd404c..32b07473c 100644 --- a/packages/website/ts/utils/utils.ts +++ b/packages/website/ts/utils/utils.ts @@ -247,12 +247,9 @@ export const utils = { } = { [ExchangeContractErrs.OrderFillExpired]: 'This order has expired', [ExchangeContractErrs.OrderCancelExpired]: 'This order has expired', - [ExchangeContractErrs.OrderCancelAmountZero]: "Order cancel amount can't be 0", - [ExchangeContractErrs.OrderAlreadyCancelledOrFilled]: - 'This order has already been completely filled or cancelled', + [ExchangeContractErrs.OrderCancelled]: 'This order has been cancelled', [ExchangeContractErrs.OrderFillAmountZero]: "Order fill amount can't be 0", - [ExchangeContractErrs.OrderRemainingFillAmountZero]: - 'This order has already been completely filled or cancelled', + [ExchangeContractErrs.OrderRemainingFillAmountZero]: 'This order has already been completely filled', [ExchangeContractErrs.OrderFillRoundingError]: 'Rounding error will occur when filling this order. Please try filling a different amount.', [ExchangeContractErrs.InsufficientTakerBalance]: |