Skip to content

Commit

Permalink
temporary stop getTronConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ety001 committed Dec 2, 2020
1 parent 10f0ec9 commit 6e6abb9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/shared/UniversalRender.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6e6abb9

Please sign in to comment.