diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-05-25 19:42:53 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-05-25 19:42:53 +0800 |
commit | eee06e0cc97333891a84aff22196849105846eb4 (patch) | |
tree | 751a4e528301544e3a8b4059badecb78ad2bff76 /src/ts/utils | |
parent | 74a80c28d348da6e4050e43e713113c4c0df87df (diff) | |
download | dexon-sol-tools-eee06e0cc97333891a84aff22196849105846eb4.tar dexon-sol-tools-eee06e0cc97333891a84aff22196849105846eb4.tar.gz dexon-sol-tools-eee06e0cc97333891a84aff22196849105846eb4.tar.bz2 dexon-sol-tools-eee06e0cc97333891a84aff22196849105846eb4.tar.lz dexon-sol-tools-eee06e0cc97333891a84aff22196849105846eb4.tar.xz dexon-sol-tools-eee06e0cc97333891a84aff22196849105846eb4.tar.zst dexon-sol-tools-eee06e0cc97333891a84aff22196849105846eb4.zip |
Address feedback
Diffstat (limited to 'src/ts/utils')
-rw-r--r-- | src/ts/utils/assert.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ts/utils/assert.ts b/src/ts/utils/assert.ts index 509590ee6..2f52c6a3b 100644 --- a/src/ts/utils/assert.ts +++ b/src/ts/utils/assert.ts @@ -3,7 +3,7 @@ import * as BigNumber from 'bignumber.js'; import Web3 = require('web3'); import {SchemaValidator} from './schema_validator'; -const HEX_REGEX = /^0x([0-9A-F]{2})*$/i; +const HEX_REGEX = /^0x[0-9A-F]*$/i; export const assert = { isBigNumber(variableName: string, value: BigNumber.BigNumber) { |