diff options
author | Fabio Berger <me@fabioberger.com> | 2017-06-03 00:33:57 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-06-03 00:33:57 +0800 |
commit | ebe50848761876301dc3ef24d64a4cd416b475a5 (patch) | |
tree | 57f1b5967807a8fe97fc9581f76695281cc0f0ca | |
parent | 827a0d4e91169e338cbdc8042d158aaf7fdcf96c (diff) | |
download | dexon-sol-tools-ebe50848761876301dc3ef24d64a4cd416b475a5.tar dexon-sol-tools-ebe50848761876301dc3ef24d64a4cd416b475a5.tar.gz dexon-sol-tools-ebe50848761876301dc3ef24d64a4cd416b475a5.tar.bz2 dexon-sol-tools-ebe50848761876301dc3ef24d64a4cd416b475a5.tar.lz dexon-sol-tools-ebe50848761876301dc3ef24d64a4cd416b475a5.tar.xz dexon-sol-tools-ebe50848761876301dc3ef24d64a4cd416b475a5.tar.zst dexon-sol-tools-ebe50848761876301dc3ef24d64a4cd416b475a5.zip |
Fix comment
-rw-r--r-- | src/utils/schema_validator.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/schema_validator.ts b/src/utils/schema_validator.ts index db8a960ba..932ddf62a 100644 --- a/src/utils/schema_validator.ts +++ b/src/utils/schema_validator.ts @@ -6,7 +6,7 @@ import {tokenSchema} from '../schemas/token_schema'; export class SchemaValidator { private validator: Validator; // In order to validate a complex JS object using jsonschema, we must replace any complex - // sub-types (e.g BigNumber) with a simpler string represenation. Since BigNumber and other + // sub-types (e.g BigNumber) with a simpler string representation. Since BigNumber and other // complex types implement the `toString` method, we can stringify the object and // then parse it. The resultant object can then be checked using jsonschema. public static convertToJSONSchemaCompatibleObject(obj: object): object { |