diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-09 22:07:39 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-09 22:07:39 +0800 |
commit | 7b82a8669d7a7c69d879349a083424d5dcdf79ec (patch) | |
tree | dbb819c8ddbc5991c6818c7245e9d790626a9a6c /packages/web3-wrapper/src/index.ts | |
parent | 7116f100ee194f46d0e34782afa8f680791adc9c (diff) | |
download | dexon-0x-contracts-7b82a8669d7a7c69d879349a083424d5dcdf79ec.tar.gz dexon-0x-contracts-7b82a8669d7a7c69d879349a083424d5dcdf79ec.tar.zst dexon-0x-contracts-7b82a8669d7a7c69d879349a083424d5dcdf79ec.zip |
Fix comment
Diffstat (limited to 'packages/web3-wrapper/src/index.ts')
-rw-r--r-- | packages/web3-wrapper/src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web3-wrapper/src/index.ts b/packages/web3-wrapper/src/index.ts index 64a19f531..9be4280b3 100644 --- a/packages/web3-wrapper/src/index.ts +++ b/packages/web3-wrapper/src/index.ts @@ -11,7 +11,7 @@ export class Web3Wrapper { if (_.isUndefined((provider as any).sendAsync)) { // Web3@1.0 provider doesn't support synchronous http requests, // so it only has an async `send` method, instead of a `send` and `sendAsync` in web3@0.x.x` - // We re-assign the send method so that Web3@1.0 providers work with 0x.js + // We re-assign the send method so that Web3@1.0 providers work with @0xproject/web3-wrapper (provider as any).sendAsync = (provider as any).send; } this._web3 = new Web3(); |