|
|
@@ -616,18 +616,6 @@ setInterval(() => {
|
|
|
const getTotalProfit = async (sid1, sid2, gold_side_inner) => {
|
|
|
const preSolution = GAMES.Solutions[sid1];
|
|
|
const subSolution = GAMES.Solutions[sid2];
|
|
|
- // const relId1 = preSolution?.info?.id;
|
|
|
- // const relId2 = subSolution?.info?.id;
|
|
|
- // const relIds = [relId1, relId2];
|
|
|
- // const gamesEvents = getGamesEvents({ relIds });
|
|
|
-
|
|
|
- // const gamesRelations = getGamesRelation();
|
|
|
- // const relationsMap = new Map(gamesRelations.map(item => [item.id, item.rel]));
|
|
|
- // const preRelation = relationsMap.get(relId1);
|
|
|
- // const subRelation = relationsMap.get(relId2);
|
|
|
- // preSolution.info = { id: relId1, ...preRelation };
|
|
|
- // subSolution.info = { id: relId2, ...subRelation };
|
|
|
-
|
|
|
const sol1 = preSolution?.sol;
|
|
|
const sol2 = subSolution?.sol;
|
|
|
if (!sol1 || !sol2) {
|