From 6e6abb98e94077183e3cd382d1383f5b2e24e1c2 Mon Sep 17 00:00:00 2001 From: ETY001 Date: Wed, 2 Dec 2020 20:42:20 +0800 Subject: [PATCH] temporary stop getTronConfig --- src/shared/UniversalRender.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/shared/UniversalRender.jsx b/src/shared/UniversalRender.jsx index 6c732e81bf..5f7fb5c2b2 100644 --- a/src/shared/UniversalRender.jsx +++ b/src/shared/UniversalRender.jsx @@ -263,7 +263,12 @@ export async function serverRender( requestTimer.stopTimer('apiFetchState_ms'); requestTimer.startTimer('getTronConfig_ms'); - const tronConfig = await getTronConfig(); + // const tronConfig = await getTronConfig(); + const tronConfig = { + tron_reward_switch: 'on', + vests_per_trx: 1913, + unbind_tip_limit: 5, + }; if (tronConfig !== false) { initialState.app.tron_reward_switch = tronConfig.tron_reward_switch; initialState.app.vests_per_trx = tronConfig.vests_per_trx;