aboutsummaryrefslogtreecommitdiffstats
path: root/packages/asset-buyer/src/asset_buyer.ts
diff options
context:
space:
mode:
authorAndrew Maurer <git@maurer.me>2018-10-13 23:09:50 +0800
committerGitHub <noreply@github.com>2018-10-13 23:09:50 +0800
commit69e9dbd68323439ac817e71c610dfae3716bee26 (patch)
tree6b2791f09132524963ae5e0bb58afffcb3720736 /packages/asset-buyer/src/asset_buyer.ts
parentdc56ce454967d2bf0d5e8c93389c0fa71a9d1cc5 (diff)
parenta424c2adfabbbd9313b4f5ddeeeaebd0811fd1cd (diff)
downloaddexon-sol-tools-69e9dbd68323439ac817e71c610dfae3716bee26.tar
dexon-sol-tools-69e9dbd68323439ac817e71c610dfae3716bee26.tar.gz
dexon-sol-tools-69e9dbd68323439ac817e71c610dfae3716bee26.tar.bz2
dexon-sol-tools-69e9dbd68323439ac817e71c610dfae3716bee26.tar.lz
dexon-sol-tools-69e9dbd68323439ac817e71c610dfae3716bee26.tar.xz
dexon-sol-tools-69e9dbd68323439ac817e71c610dfae3716bee26.tar.zst
dexon-sol-tools-69e9dbd68323439ac817e71c610dfae3716bee26.zip
Merge branch 'development' into development
Diffstat (limited to 'packages/asset-buyer/src/asset_buyer.ts')
-rw-r--r--packages/asset-buyer/src/asset_buyer.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/asset-buyer/src/asset_buyer.ts b/packages/asset-buyer/src/asset_buyer.ts
index 7ec39e012..50343efde 100644
--- a/packages/asset-buyer/src/asset_buyer.ts
+++ b/packages/asset-buyer/src/asset_buyer.ts
@@ -183,7 +183,7 @@ export class AssetBuyer {
buyQuote: BuyQuote,
options: Partial<BuyQuoteExecutionOpts> = {},
): Promise<string> {
- const { ethAmount, takerAddress, feeRecipient } = {
+ const { ethAmount, takerAddress, feeRecipient, gasLimit, gasPrice } = {
...constants.DEFAULT_BUY_QUOTE_EXECUTION_OPTS,
...options,
};
@@ -219,6 +219,10 @@ export class AssetBuyer {
feeOrders,
feePercentage,
feeRecipient,
+ {
+ gasLimit,
+ gasPrice,
+ },
);
return txHash;
}