aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/contract_wrapper.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-05 17:38:28 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-05 17:38:28 +0800
commita12df1c73a97b3ba18ab53c1b25be39b837f6240 (patch)
tree6d9ea6902ad1011b0395fc62fa89e89eca259dd9 /src/contract_wrappers/contract_wrapper.ts
parent876032a8a71f9eedbf3394727dbc0ea513100836 (diff)
downloaddexon-sol-tools-a12df1c73a97b3ba18ab53c1b25be39b837f6240.tar
dexon-sol-tools-a12df1c73a97b3ba18ab53c1b25be39b837f6240.tar.gz
dexon-sol-tools-a12df1c73a97b3ba18ab53c1b25be39b837f6240.tar.bz2
dexon-sol-tools-a12df1c73a97b3ba18ab53c1b25be39b837f6240.tar.lz
dexon-sol-tools-a12df1c73a97b3ba18ab53c1b25be39b837f6240.tar.xz
dexon-sol-tools-a12df1c73a97b3ba18ab53c1b25be39b837f6240.tar.zst
dexon-sol-tools-a12df1c73a97b3ba18ab53c1b25be39b837f6240.zip
Fix gasPrice regression
Diffstat (limited to 'src/contract_wrappers/contract_wrapper.ts')
-rw-r--r--src/contract_wrappers/contract_wrapper.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/contract_wrappers/contract_wrapper.ts b/src/contract_wrappers/contract_wrapper.ts
index 3de26148f..ca19342f3 100644
--- a/src/contract_wrappers/contract_wrapper.ts
+++ b/src/contract_wrappers/contract_wrapper.ts
@@ -6,10 +6,8 @@ import {utils} from '../utils/utils';
export class ContractWrapper {
protected _web3Wrapper: Web3Wrapper;
- private _gasPrice?: BigNumber.BigNumber;
- constructor(web3Wrapper: Web3Wrapper, gasPrice?: BigNumber.BigNumber) {
+ constructor(web3Wrapper: Web3Wrapper) {
this._web3Wrapper = web3Wrapper;
- this._gasPrice = gasPrice;
}
protected async _instantiateContractIfExistsAsync<A extends Web3.ContractInstance>(artifact: Artifact,
address?: string): Promise<A> {