Skip to content

Commit

Permalink
Revert "[Avail] Filter pool list"
Browse files Browse the repository at this point in the history
This reverts commit 50e608c.
  • Loading branch information
S2kael committed Jul 24, 2024
1 parent 61794b8 commit eb020ae
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -427,14 +427,6 @@ export default class NominationPoolHandler extends BasePoolHandler {

const poolName = isHex(poolMetadata) ? hexToString(poolMetadata) : poolMetadata;

if (this.chain === 'avail_mainnet') {
if (!poolName.includes('SubWallet Official')) {
return;
}
} else {
return;
}

const isPoolOpen = bondedPool.state === 'Open';
const isPoolNominating = !!nominations && nominations.targets.length > 0;
const isPoolEarningReward = bondedPool.points > minimumActiveStake;
Expand Down

0 comments on commit eb020ae

Please sign in to comment.