From 46fb1914cfef6af8423897ef5edb477ba5e40665 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Mon, 29 May 2017 18:13:07 +0200 Subject: Lowercase schema names --- src/contract_wrappers/exchange_wrapper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/contract_wrappers') diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index f9585e991..f0f153c2b 100644 --- a/src/contract_wrappers/exchange_wrapper.ts +++ b/src/contract_wrappers/exchange_wrapper.ts @@ -4,7 +4,7 @@ import {ECSignature, ZeroExError, ExchangeContract} from '../types'; import {assert} from '../utils/assert'; import {ContractWrapper} from './contract_wrapper'; import * as ExchangeArtifacts from '../artifacts/Exchange.json'; -import {ECSignatureSchema} from '../schemas/ec_signature_schema'; +import {ecSignatureSchema} from '../schemas/ec_signature_schema'; export class ExchangeWrapper extends ContractWrapper { constructor(web3Wrapper: Web3Wrapper) { @@ -13,7 +13,7 @@ export class ExchangeWrapper extends ContractWrapper { public async isValidSignatureAsync(dataHex: string, ecSignature: ECSignature, signerAddressHex: string): Promise { assert.isHexString('dataHex', dataHex); - assert.doesConformToSchema('ecSignature', ecSignature, ECSignatureSchema); + assert.doesConformToSchema('ecSignature', ecSignature, ecSignatureSchema); assert.isETHAddressHex('signerAddressHex', signerAddressHex); const senderAddressIfExists = await this.web3Wrapper.getSenderAddressIfExistsAsync(); -- cgit v1.2.3