Skip to content

Commit

Permalink
chore: a little fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DeFIBrain88 committed Apr 15, 2024
1 parent bd566dd commit dea6e63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/powerindex-mining/PoolsLens.sol
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ contract PoolsLens is Ownable {
CvpUserBalance: 0,
CvpRouterAllowance: 0,
LpUserBalance: 0,
LpMiningBalance: 0,
LpMiningBalance: ERC20(pool.lpToken).balanceOf(address(mining)),
LpMiningAllowance: 0,
prices: getPrices()
});
Expand Down
4 changes: 2 additions & 2 deletions test/PoolsLens.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ describe.only('PoolsLens', async () => {
'0x38e4adB44ef08F22F5B5b76A8f0c2d0dCbE7DcA1',
);
// const zeroPool = await this.poolsLens.getPoolData(ethers.constants.AddressZero);
const zeroPool = await this.poolsLens.getMiningManager('0x8b19f6F51501dA80FCEFb578427907f223005F7A');
// const zeroPool = await this.poolsLens.getFarmingData(ethers.constants.AddressZero);
// const zeroPool = await this.poolsLens.getMiningManager('0x8b19f6F51501dA80FCEFb578427907f223005F7A');
const zeroPool = await this.poolsLens.getMiningManager(ethers.constants.AddressZero);
console.log('zeroPool: ', zeroPool);
});
} catch (e) {
Expand Down

0 comments on commit dea6e63

Please sign in to comment.