Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAR2 committed Jul 18, 2023
1 parent ed089ef commit 3328cee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/actions/pool_actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ export default class PoolActions {
const nodeStake = await contract.methods.nodeStake().call();
const nodesCount = +await contract.methods.getNodesCount().call();
const token = await contract.methods.token().call();
// const maxTotalStake = await contract.methods.maxTotalStake().call();
// const minStakeValue = await contract.methods.minStakeValue().call();
// const maxTotalStake = await contract.methods.maxTotalStake().call();
// const minStakeValue = await contract.methods.minStakeValue().call();
let service;
try {
service = await contract.methods.service().call();
// eslint-disable-next-line no-empty
} catch (error) {
}
// console.log(id, active ? 'active' : ' ', name, address, this.web3.utils.fromWei(nodeStake, 'ether'), nodesCount, this.web3.utils.fromWei(totalStake, 'ether'), token, service, this.web3.utils.fromWei(maxTotalStake), this.web3.utils.fromWei(minStakeValue));
console.log(id, active ? 'active' : ' ', name, address, this.web3.utils.fromWei(nodeStake, 'ether'), nodesCount, this.web3.utils.fromWei(totalStake, 'ether'), token);
// console.log(id, active ? 'active' : ' ', name, address, this.web3.utils.fromWei(nodeStake, 'ether'), nodesCount, this.web3.utils.fromWei(totalStake, 'ether'), token, service, this.web3.utils.fromWei(maxTotalStake), this.web3.utils.fromWei(minStakeValue));
console.log(id, active ? 'active' : ' ', name, address, this.web3.utils.fromWei(nodeStake, 'ether'), nodesCount, this.web3.utils.fromWei(totalStake, 'ether'), token, service);
}
} else {
console.log('No pools found');
Expand Down

0 comments on commit 3328cee

Please sign in to comment.