Skip to content

Commit

Permalink
Only count mana trades in league profit calculation
Browse files Browse the repository at this point in the history
fixes MAN-2105, fixes #3185
  • Loading branch information
sipec committed Dec 4, 2024
1 parent 5b7824a commit a2345fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/scheduler/src/jobs/update-league.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export async function updateLeague() {
const contract = contractsById[contractId]
if (
contract &&
contract.token === 'MANA' &&
contract.visibility === 'public' &&
contract.isRanked !== false &&
!EXCLUDED_CONTRACT_SLUGS.has(contract.slug)
Expand Down

0 comments on commit a2345fd

Please sign in to comment.