diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-25 18:00:02 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-29 16:01:13 +0800 |
commit | a6a16017997fbe53ac709f2f0d874e348da35621 (patch) | |
tree | 9c0bf98ddef5e9f073c7e5c795fc79eb2b9d3e35 /src/contract_wrappers/exchange_wrapper.ts | |
parent | a8fd3f30cf87660f08fa7b1c249606b7f8872ba1 (diff) | |
download | dexon-sol-tools-a6a16017997fbe53ac709f2f0d874e348da35621.tar dexon-sol-tools-a6a16017997fbe53ac709f2f0d874e348da35621.tar.gz dexon-sol-tools-a6a16017997fbe53ac709f2f0d874e348da35621.tar.bz2 dexon-sol-tools-a6a16017997fbe53ac709f2f0d874e348da35621.tar.lz dexon-sol-tools-a6a16017997fbe53ac709f2f0d874e348da35621.tar.xz dexon-sol-tools-a6a16017997fbe53ac709f2f0d874e348da35621.tar.zst dexon-sol-tools-a6a16017997fbe53ac709f2f0d874e348da35621.zip |
Allow user to specify the gas price
Diffstat (limited to 'src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r-- | src/contract_wrappers/exchange_wrapper.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index a01940f4b..8ae51da43 100644 --- a/src/contract_wrappers/exchange_wrapper.ts +++ b/src/contract_wrappers/exchange_wrapper.ts @@ -73,8 +73,8 @@ export class ExchangeWrapper extends ContractWrapper { ]; return [orderAddresses, orderValues]; } - constructor(web3Wrapper: Web3Wrapper, tokenWrapper: TokenWrapper) { - super(web3Wrapper); + constructor(web3Wrapper: Web3Wrapper, tokenWrapper: TokenWrapper, gasPrice: BigNumber.BigNumber) { + super(web3Wrapper, gasPrice); this._tokenWrapper = tokenWrapper; this._orderValidationUtils = new OrderValidationUtils(tokenWrapper, this); this._exchangeLogEventEmitters = []; |