aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers
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/contract_wrappers
parent43082b576ce764cf896d6c3b9fdae8c414467794 (diff)
downloaddexon-sol-tools-46fb1914cfef6af8423897ef5edb477ba5e40665.tar
dexon-sol-tools-46fb1914cfef6af8423897ef5edb477ba5e40665.tar.gz
dexon-sol-tools-46fb1914cfef6af8423897ef5edb477ba5e40665.tar.bz2
dexon-sol-tools-46fb1914cfef6af8423897ef5edb477ba5e40665.tar.lz
dexon-sol-tools-46fb1914cfef6af8423897ef5edb477ba5e40665.tar.xz
dexon-sol-tools-46fb1914cfef6af8423897ef5edb477ba5e40665.tar.zst
dexon-sol-tools-46fb1914cfef6af8423897ef5edb477ba5e40665.zip
Lowercase schema names
Diffstat (limited to 'src/contract_wrappers')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts4
1 files changed, 2 insertions, 2 deletions
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<boolean> {
assert.isHexString('dataHex', dataHex);
- assert.doesConformToSchema('ecSignature', ecSignature, ECSignatureSchema);
+ assert.doesConformToSchema('ecSignature', ecSignature, ecSignatureSchema);
assert.isETHAddressHex('signerAddressHex', signerAddressHex);
const senderAddressIfExists = await this.web3Wrapper.getSenderAddressIfExistsAsync();