diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-05 01:56:30 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:31 +0800 |
commit | 27d9fba785a5a53550be53b12baf9069bda8d160 (patch) | |
tree | bde34d668e53832dd03dd279992721d56291124b /packages/web3-wrapper/src/index.ts | |
parent | e6a783aff803c276392efec93571d24fc96feb6e (diff) | |
download | dexon-sol-tools-27d9fba785a5a53550be53b12baf9069bda8d160.tar dexon-sol-tools-27d9fba785a5a53550be53b12baf9069bda8d160.tar.gz dexon-sol-tools-27d9fba785a5a53550be53b12baf9069bda8d160.tar.bz2 dexon-sol-tools-27d9fba785a5a53550be53b12baf9069bda8d160.tar.lz dexon-sol-tools-27d9fba785a5a53550be53b12baf9069bda8d160.tar.xz dexon-sol-tools-27d9fba785a5a53550be53b12baf9069bda8d160.tar.zst dexon-sol-tools-27d9fba785a5a53550be53b12baf9069bda8d160.zip |
Include web3 types via typeRoots and factor out common parts of tsconfig.json
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 8fa38e987..c4826f2be 100644 --- a/packages/web3-wrapper/src/index.ts +++ b/packages/web3-wrapper/src/index.ts @@ -33,7 +33,7 @@ export class Web3Wrapper { public getContractDefaults(): Partial<TxData> { return this._defaults; } - public setProvider(provider: Web3.Provider, networkId: number) { + public setProvider(provider: Web3.Provider) { this._web3.setProvider(provider); } public isAddress(address: string): boolean { |