diff options
author | Jacob Evans <jacob@dekz.net> | 2018-01-19 07:51:57 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-01-19 07:51:57 +0800 |
commit | 2ac806ef088ef4e9d037bc0227ce493f8f09a19e (patch) | |
tree | 45bad0fba140aca8256b8ddc5ed232887fd8ed63 /packages/assert/src | |
parent | fb77817c2d5258ecf92901ed9bd7db35bc11078f (diff) | |
download | dexon-0x-contracts-2ac806ef088ef4e9d037bc0227ce493f8f09a19e.tar.gz dexon-0x-contracts-2ac806ef088ef4e9d037bc0227ce493f8f09a19e.tar.zst dexon-0x-contracts-2ac806ef088ef4e9d037bc0227ce493f8f09a19e.zip |
Prettier
Diffstat (limited to 'packages/assert/src')
-rw-r--r-- | packages/assert/src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/assert/src/index.ts b/packages/assert/src/index.ts index 0ea666629..7ad574ec7 100644 --- a/packages/assert/src/index.ts +++ b/packages/assert/src/index.ts @@ -13,7 +13,7 @@ export const assert = { isValidBaseUnitAmount(variableName: string, value: BigNumber) { assert.isBigNumber(variableName, value); const isNegative = value.lessThan(0); - this.assert(!isNegative, `${variableName} cannot be a negative number, found value: ${value.toNumber()}` ); + this.assert(!isNegative, `${variableName} cannot be a negative number, found value: ${value.toNumber()}`); const hasDecimals = value.decimalPlaces() !== 0; this.assert( !hasDecimals, |