aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-09-17 19:52:12 +0800
committerFabio Berger <me@fabioberger.com>2018-09-17 19:52:12 +0800
commitbfabf765e30d396c884220a786a6f748fd540e2f (patch)
tree073ae560cf6d047c589bfc5be2fd4b6124d175d2
parente74f736eff9bc842faf69bda82a608974dbc599c (diff)
downloaddexon-sol-tools-bfabf765e30d396c884220a786a6f748fd540e2f.tar
dexon-sol-tools-bfabf765e30d396c884220a786a6f748fd540e2f.tar.gz
dexon-sol-tools-bfabf765e30d396c884220a786a6f748fd540e2f.tar.bz2
dexon-sol-tools-bfabf765e30d396c884220a786a6f748fd540e2f.tar.lz
dexon-sol-tools-bfabf765e30d396c884220a786a6f748fd540e2f.tar.xz
dexon-sol-tools-bfabf765e30d396c884220a786a6f748fd540e2f.tar.zst
dexon-sol-tools-bfabf765e30d396c884220a786a6f748fd540e2f.zip
Update decoration error
-rw-r--r--packages/contract-wrappers/src/utils/decorators.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contract-wrappers/src/utils/decorators.ts b/packages/contract-wrappers/src/utils/decorators.ts
index 6e77450e8..d6bf6ec1e 100644
--- a/packages/contract-wrappers/src/utils/decorators.ts
+++ b/packages/contract-wrappers/src/utils/decorators.ts
@@ -24,7 +24,7 @@ const contractCallErrorTransformer = (error: Error) => {
const schemaErrorTransformer = (error: Error) => {
if (_.includes(error.message, constants.INVALID_TAKER_FORMAT)) {
const errMsg =
- 'Order taker must be of type string. If you want anyone to be able to fill an order - pass ZeroEx.NULL_ADDRESS';
+ 'Order taker must be of type string. If you want anyone to be able to fill an order - pass NULL_ADDRESS';
return new Error(errMsg);
}
return error;