Skip to content

Commit 8063a15

Browse files
author
Layko Andrey
committed
10 - Fix asset exchange rate
Changed exchange rates API URL to Binance API
1 parent f047b15 commit 8063a15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/actions/deploy-contract.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const convertCurrencies = conversionValues => async dispatch => {
101101
try {
102102
const data = await dispatch(apiGet(apiRequestUrl));
103103
dispatch({ type: CONVERT_CURRENCIES, payload: data.price *fromAmount });
104-
return data.price *fromAmount;
104+
return data.price * fromAmount;
105105
} catch (err) {
106106
console.log('Error in convertCurrencies', err);
107107
}

0 commit comments

Comments
 (0)