aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-03 01:14:20 +0800
committerFabio Berger <me@fabioberger.com>2017-06-03 01:14:20 +0800
commitae15425f0b2d3f79b6f6b47d351cf51f8f68d2c0 (patch)
tree975320862a2eb0e8f97091bce95b0d901a5c587b /src/utils
parent6f98d8328419962e257c570e3fcb5cb4246162a3 (diff)
parentc83587a16d016d1efafaf31abb9b39eb54128568 (diff)
downloaddexon-sol-tools-ae15425f0b2d3f79b6f6b47d351cf51f8f68d2c0.tar
dexon-sol-tools-ae15425f0b2d3f79b6f6b47d351cf51f8f68d2c0.tar.gz
dexon-sol-tools-ae15425f0b2d3f79b6f6b47d351cf51f8f68d2c0.tar.bz2
dexon-sol-tools-ae15425f0b2d3f79b6f6b47d351cf51f8f68d2c0.tar.lz
dexon-sol-tools-ae15425f0b2d3f79b6f6b47d351cf51f8f68d2c0.tar.xz
dexon-sol-tools-ae15425f0b2d3f79b6f6b47d351cf51f8f68d2c0.tar.zst
dexon-sol-tools-ae15425f0b2d3f79b6f6b47d351cf51f8f68d2c0.zip
Merge branch 'master' into addEventSubscriptions
# Conflicts: # src/contract_wrappers/exchange_wrapper.ts # src/types.ts # test/exchange_wrapper_test.ts
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/schema_validator.ts2
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 {