diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-04 19:38:19 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-04 19:38:19 +0800 |
commit | 4dfa720f2dec2be0b0758633c087579a02e482bb (patch) | |
tree | 242eec230a95f44a1280c7a6431cf1b48ff70337 /packages/web3-wrapper/src | |
parent | ce6abad97f248a3557390dd1e1ff3ae84662838f (diff) | |
download | dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.gz dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.bz2 dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.lz dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.xz dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.zst dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.zip |
Use configured version of bignumber in all packages
Diffstat (limited to 'packages/web3-wrapper/src')
-rw-r--r-- | packages/web3-wrapper/src/index.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/packages/web3-wrapper/src/index.ts b/packages/web3-wrapper/src/index.ts index b7dd042f2..8fa38e987 100644 --- a/packages/web3-wrapper/src/index.ts +++ b/packages/web3-wrapper/src/index.ts @@ -1,6 +1,5 @@ import { TransactionReceipt, TxData } from '@0xproject/types'; -import { bigNumberConfigs, promisify } from '@0xproject/utils'; -import BigNumber from 'bignumber.js'; +import { BigNumber, promisify } from '@0xproject/utils'; import * as _ from 'lodash'; import * as Web3 from 'web3'; @@ -15,9 +14,6 @@ interface RawLogEntry { topics: string[]; } -// Customize our BigNumber instances -bigNumberConfigs.configure(); - export class Web3Wrapper { private _web3: Web3; private _defaults: Partial<TxData>; |