aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/contract_wrapper.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-08-25 18:10:56 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-08-29 16:01:13 +0800
commit5b60d9f0f487719510e8d3463faf2fbad9d95d61 (patch)
tree68de0b3438be8b9d672d499d0cc0ce8b41ae1af8 /src/contract_wrappers/contract_wrapper.ts
parentdcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e (diff)
downloaddexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar
dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.gz
dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.bz2
dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.lz
dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.xz
dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.zst
dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.zip
Remove default value for gasPrice
Diffstat (limited to 'src/contract_wrappers/contract_wrapper.ts')
-rw-r--r--src/contract_wrappers/contract_wrapper.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contract_wrappers/contract_wrapper.ts b/src/contract_wrappers/contract_wrapper.ts
index 015ed275a..28df82cee 100644
--- a/src/contract_wrappers/contract_wrapper.ts
+++ b/src/contract_wrappers/contract_wrapper.ts
@@ -6,8 +6,8 @@ import {utils} from '../utils/utils';
export class ContractWrapper {
protected _web3Wrapper: Web3Wrapper;
- private _gasPrice: BigNumber.BigNumber;
- constructor(web3Wrapper: Web3Wrapper, gasPrice: BigNumber.BigNumber) {
+ private _gasPrice?: BigNumber.BigNumber;
+ constructor(web3Wrapper: Web3Wrapper, gasPrice?: BigNumber.BigNumber) {
this._web3Wrapper = web3Wrapper;
this._gasPrice = gasPrice;
}