From ef797f854cd570a6478efd95f407d771feeade38 Mon Sep 17 00:00:00 2001 From: fetok12 Date: Fri, 6 Dec 2024 02:14:26 +0300 Subject: [PATCH 1/2] Fix selectable native currency override --- web/src/containers/Admin/General/General.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/src/containers/Admin/General/General.js b/web/src/containers/Admin/General/General.js index 72017eb751..f70ad29ff2 100644 --- a/web/src/containers/Admin/General/General.js +++ b/web/src/containers/Admin/General/General.js @@ -516,8 +516,7 @@ class GeneralContent extends Component { features, balance_history_config = null, referral_history_config = null, - chain_trade_config = null, - selectable_native_currencies = null + chain_trade_config = null ) => { this.handleSubmitGeneral({ kit: { @@ -525,7 +524,6 @@ class GeneralContent extends Component { balance_history_config, referral_history_config, chain_trade_config, - selectable_native_currencies, }, }); }; From 2aa36849259391cf1d75bf590d7d13621320471b Mon Sep 17 00:00:00 2001 From: fetok12 Date: Fri, 6 Dec 2024 02:21:16 +0300 Subject: [PATCH 2/2] obfuscate chain trade error message --- server/utils/hollaex-tools-lib/tools/order.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/hollaex-tools-lib/tools/order.js b/server/utils/hollaex-tools-lib/tools/order.js index 2e78b6dc34..5bfa030c3b 100644 --- a/server/utils/hollaex-tools-lib/tools/order.js +++ b/server/utils/hollaex-tools-lib/tools/order.js @@ -1698,7 +1698,7 @@ const executeTrades = async (tradeInfo, sourceUser, opts) => { successfulTrades.push(res); } catch (error) { - throw new Error(`Error occured during trade executions. Error: ${error.message} Failed trade ${trade.symbol}, successful trades: ${successfulTrades.map(trade => trade.symbol).join(', ')}`); + throw new Error(`There has been a failure processing your request please try again`); } }