Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
@0x/conracts-staking: Fix idiotic linter error.
Browse files Browse the repository at this point in the history
  • Loading branch information
merklejerk committed Sep 4, 2019
1 parent 0226c53 commit 15b4dda
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contracts/staking/test/pools_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { StakingWrapper } from './utils/staking_wrapper';
// tslint:disable:no-unnecessary-type-assertion
blockchainTests('Staking Pool Management', env => {
// constants
const { DUMMY_TOKEN_DECIMALS, PPM_DENOMINATOR } = constants;
const { DUMMY_TOKEN_DECIMALS, PPM_100_PERCENT, PPM_DENOMINATOR } = constants;
// tokens & addresses
let accounts: string[];
let owner: string;
Expand Down Expand Up @@ -56,7 +56,8 @@ blockchainTests('Staking Pool Management', env => {
it('Should throw if poolOperatorShare is > PPM_DENOMINATOR', async () => {
// test parameters
const operatorAddress = users[0];
const operatorShare = PPM_DENOMINATOR + 1;
// tslint:disable-next-line
const operatorShare = PPM_100_PERCENT + 1;
const poolOperator = new PoolOperatorActor(operatorAddress, stakingWrapper);
// create pool
const tx = poolOperator.createStakingPoolAsync(operatorShare);
Expand Down

0 comments on commit 15b4dda

Please sign in to comment.