diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-06-10 02:40:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-10 02:40:36 +0800 |
commit | 823134b3bf24c93bd470a1de65bd39adaf554f73 (patch) | |
tree | 5e176f2208a97471d83ad0e1ffbc9980e25cdd24 /src/utils | |
parent | 56e0b95a6c52c69199f4177741571e361620ef64 (diff) | |
parent | 1460966d8f03e5ec0012b21d4c4614c4c3ec44bc (diff) | |
download | dexon-sol-tools-823134b3bf24c93bd470a1de65bd39adaf554f73.tar dexon-sol-tools-823134b3bf24c93bd470a1de65bd39adaf554f73.tar.gz dexon-sol-tools-823134b3bf24c93bd470a1de65bd39adaf554f73.tar.bz2 dexon-sol-tools-823134b3bf24c93bd470a1de65bd39adaf554f73.tar.lz dexon-sol-tools-823134b3bf24c93bd470a1de65bd39adaf554f73.tar.xz dexon-sol-tools-823134b3bf24c93bd470a1de65bd39adaf554f73.tar.zst dexon-sol-tools-823134b3bf24c93bd470a1de65bd39adaf554f73.zip |
Merge branch 'master' into json-schema
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/schema_validator.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/schema_validator.ts b/src/utils/schema_validator.ts index 6e0e6ab9c..9097dce88 100644 --- a/src/utils/schema_validator.ts +++ b/src/utils/schema_validator.ts @@ -1,5 +1,5 @@ import {Validator, ValidatorResult} from 'jsonschema'; -import {ecSignatureSchema, ecSignatureParameter} from '../schemas/ec_signature_schema'; +import {ecSignatureSchema, ecSignatureParameterSchema} from '../schemas/ec_signature_schema'; import {orderSchema, signedOrderSchema} from '../schemas/order_schemas'; import {addressSchema, numberSchema} from '../schemas/basic_type_schemas'; import {tokenSchema} from '../schemas/token_schema'; @@ -15,7 +15,7 @@ export class SchemaValidator { this.validator.addSchema(addressSchema, addressSchema.id); this.validator.addSchema(ecSignatureSchema, ecSignatureSchema.id); this.validator.addSchema(signedOrderSchema, signedOrderSchema.id); - this.validator.addSchema(ecSignatureParameter, ecSignatureParameter.id); + this.validator.addSchema(ecSignatureParameterSchema, ecSignatureParameterSchema.id); this.validator.addSchema(orderFillOrKillRequestsSchema, orderFillOrKillRequestsSchema.id); } // In order to validate a complex JS object using jsonschema, we must replace any complex |