aboutsummaryrefslogtreecommitdiffstats
path: root/packages/asset-buyer
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2019-01-17 01:40:36 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2019-01-17 01:40:36 +0800
commit444250520a73ea4e147d501a9df54614689570e5 (patch)
treed8c6561f76ff74cc8c5fc45c0ea4f9a30d4324d6 /packages/asset-buyer
parentbd5850f390857f48d698535d09b9a12d8985622f (diff)
downloaddexon-sol-tools-444250520a73ea4e147d501a9df54614689570e5.tar
dexon-sol-tools-444250520a73ea4e147d501a9df54614689570e5.tar.gz
dexon-sol-tools-444250520a73ea4e147d501a9df54614689570e5.tar.bz2
dexon-sol-tools-444250520a73ea4e147d501a9df54614689570e5.tar.lz
dexon-sol-tools-444250520a73ea4e147d501a9df54614689570e5.tar.xz
dexon-sol-tools-444250520a73ea4e147d501a9df54614689570e5.tar.zst
dexon-sol-tools-444250520a73ea4e147d501a9df54614689570e5.zip
Clarify boolean variable name
Diffstat (limited to 'packages/asset-buyer')
-rw-r--r--packages/asset-buyer/src/asset_buyer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/asset-buyer/src/asset_buyer.ts b/packages/asset-buyer/src/asset_buyer.ts
index cd60f0eff..b4b024d62 100644
--- a/packages/asset-buyer/src/asset_buyer.ts
+++ b/packages/asset-buyer/src/asset_buyer.ts
@@ -194,7 +194,7 @@ export class AssetBuyer {
const shouldForceOrderRefresh =
options.shouldForceOrderRefresh !== undefined ? options.shouldForceOrderRefresh : false;
assert.isString('assetData', assetData);
- assert.isBoolean('shouldForceOrderRefresh', shouldForceOrderRefresh);
+ assert.isBoolean('options.shouldForceOrderRefresh', shouldForceOrderRefresh);
const assetPairs = await this.orderProvider.getAvailableMakerAssetDatasAsync(assetData);
const etherTokenAssetData = this._getEtherTokenAssetDataOrThrow();