Skip to content

Commit

Permalink
fix for lints
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCardinalError committed Oct 26, 2023
1 parent d7c696c commit e2d1a76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deploy/main/000_deploy_token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const func: DeployFunction = async function ({ deployments, getNamedAccounts })
} else {
log('Using already deployed token at', token.address);
}

log('----------------------------------------------------');
};

Expand Down
3 changes: 1 addition & 2 deletions src/Redistribution.sol
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ contract Redistribution is AccessControl, Pausable {
uint8 private penaltyMultiplierNonRevealed = 2;

// alpha=0.097612 beta=0.0716570 k=16
uint256 private sampleMaxValue =
1284401000000000000000000000000000000000000000000000000000000000000000000;
uint256 private sampleMaxValue = 1284401000000000000000000000000000000000000000000000000000000000000000000;

// The reveal of the winner of the last round.
Reveal public winner;
Expand Down
2 changes: 1 addition & 1 deletion test/PriceOracle.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ describe('PriceOracle', function () {
it('if redundany factor is 1 twice', async function () {
const priceOracleU = await ethers.getContract('PriceOracle', updater);

let currentPrice = await priceOracle.currentPrice();
const currentPrice = await priceOracle.currentPrice();
expect(currentPrice).to.be.eq(minimumPrice);
expect(await postageStamp.lastPrice()).to.be.eq(minimumPrice);

Expand Down

0 comments on commit e2d1a76

Please sign in to comment.