aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-02 23:38:47 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-02 23:38:47 +0800
commite5cc0e0562eccf67eff9cf0521c4884ffc3b0f3b (patch)
tree5359afee680521dfc2adb1f38ab988bd1792130f /src/contract_wrappers
parent0f7bd0597234dbeafcee31e6f715f3c2004696df (diff)
downloaddexon-0x-contracts-e5cc0e0562eccf67eff9cf0521c4884ffc3b0f3b.tar.gz
dexon-0x-contracts-e5cc0e0562eccf67eff9cf0521c4884ffc3b0f3b.tar.zst
dexon-0x-contracts-e5cc0e0562eccf67eff9cf0521c4884ffc3b0f3b.zip
Rename NOT_A_TAKER to TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKER
Diffstat (limited to 'src/contract_wrappers')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index d7d56c276..ac15faff4 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -129,7 +129,7 @@ export class ExchangeWrapper extends ContractWrapper {
throw new Error(FillOrderValidationErrs.FILL_AMOUNT_IS_ZERO);
}
if (signedOrder.taker !== constants.NULL_ADDRESS && signedOrder.taker !== senderAddress) {
- throw new Error(FillOrderValidationErrs.NOT_A_TAKER);
+ throw new Error(FillOrderValidationErrs.TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKER);
}
if (signedOrder.expirationUnixTimestampSec.lessThan(Date.now() / 1000)) {
throw new Error(FillOrderValidationErrs.EXPIRED);