diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-29 06:24:02 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-29 06:24:02 +0800 |
commit | b9c983b4d691e58894b8b47f8e5952fdfcc275f9 (patch) | |
tree | fcd977c5add325a7f9648098f8085c24ca78e7cc /packages | |
parent | 208ee935c843cfff9f0559a4c4058af3908f6261 (diff) | |
download | dexon-0x-contracts-b9c983b4d691e58894b8b47f8e5952fdfcc275f9.tar dexon-0x-contracts-b9c983b4d691e58894b8b47f8e5952fdfcc275f9.tar.gz dexon-0x-contracts-b9c983b4d691e58894b8b47f8e5952fdfcc275f9.tar.bz2 dexon-0x-contracts-b9c983b4d691e58894b8b47f8e5952fdfcc275f9.tar.lz dexon-0x-contracts-b9c983b4d691e58894b8b47f8e5952fdfcc275f9.tar.xz dexon-0x-contracts-b9c983b4d691e58894b8b47f8e5952fdfcc275f9.tar.zst dexon-0x-contracts-b9c983b4d691e58894b8b47f8e5952fdfcc275f9.zip |
Use base unit value
Diffstat (limited to 'packages')
-rw-r--r-- | packages/instant/src/util/buy_quote_updater.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/util/buy_quote_updater.ts b/packages/instant/src/util/buy_quote_updater.ts index 5685a7d00..c1899f8c1 100644 --- a/packages/instant/src/util/buy_quote_updater.ts +++ b/packages/instant/src/util/buy_quote_updater.ts @@ -37,7 +37,7 @@ export const buyQuoteUpdater = { } catch (error) { if (options.dispatchErrors) { dispatch(actions.setQuoteRequestStateFailure()); - analytics.trackQuoteError(error.message ? error.message : 'other', assetUnitAmount, fetchOrigin); + analytics.trackQuoteError(error.message ? error.message : 'other', baseUnitValue, fetchOrigin); let errorMessage; if (error.message === AssetBuyerError.InsufficientAssetLiquidity) { const assetName = assetUtils.bestNameForAsset(asset, 'of this asset'); |