aboutsummaryrefslogtreecommitdiffstats
path: root/src/0x.js.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-05-30 00:13:07 +0800
committerFabio Berger <me@fabioberger.com>2017-05-30 00:13:07 +0800
commit46fb1914cfef6af8423897ef5edb477ba5e40665 (patch)
treec393edd9f1f421d69bcd67b9e3cf561e9c521233 /src/0x.js.ts
parent43082b576ce764cf896d6c3b9fdae8c414467794 (diff)
downloaddexon-0x-contracts-46fb1914cfef6af8423897ef5edb477ba5e40665.tar.gz
dexon-0x-contracts-46fb1914cfef6af8423897ef5edb477ba5e40665.tar.zst
dexon-0x-contracts-46fb1914cfef6af8423897ef5edb477ba5e40665.zip
Lowercase schema names
Diffstat (limited to 'src/0x.js.ts')
-rw-r--r--src/0x.js.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/0x.js.ts b/src/0x.js.ts
index aed7513a8..d708a8db6 100644
--- a/src/0x.js.ts
+++ b/src/0x.js.ts
@@ -11,7 +11,7 @@ import {assert} from './utils/assert';
import findVersions = require('find-versions');
import compareVersions = require('compare-versions');
import {ExchangeWrapper} from './contract_wrappers/exchange_wrapper';
-import {ECSignatureSchema} from './schemas/ec_signature_schema';
+import {ecSignatureSchema} from './schemas/ec_signature_schema';
import {SolidityTypes, ECSignature, ZeroExError} from './types';
const MAX_DIGITS_IN_UNSIGNED_256_INT = 78;
@@ -67,7 +67,7 @@ export class ZeroEx {
*/
public static isValidSignature(dataHex: string, signature: ECSignature, signerAddressHex: string): boolean {
assert.isHexString('dataHex', dataHex);
- assert.doesConformToSchema('signature', signature, ECSignatureSchema);
+ assert.doesConformToSchema('signature', signature, ecSignatureSchema);
assert.isETHAddressHex('signerAddressHex', signerAddressHex);
const dataBuff = ethUtil.toBuffer(dataHex);