Skip to content

Commit

Permalink
feat: Fix small compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed Aug 9, 2021
1 parent 207dd42 commit 6f86981
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/mocks/oracle/CLAggregators/MockAggregator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ contract MockAggregator {
return _latestAnswer;
}

function getTokenType() external view returns (uint256) {
function getTokenType() external pure returns (uint256) {
return 1;
}

Expand Down
1 change: 1 addition & 0 deletions contracts/mocks/tests/BorrowRepayTestMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.8.6;

import {IPool} from '../../interfaces/IPool.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/tokens/WETH9Mocked.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {WETH9} from '../dependencies/weth/WETH9.sol';

contract WETH9Mocked is WETH9 {
// Mint not backed by Ether: only for testing purposes
function mint(uint256 value) public returns (bool) {
function mint(uint256 value) public {
balanceOf[msg.sender] += value;
emit Transfer(address(0), msg.sender, value);
}
Expand Down

0 comments on commit 6f86981

Please sign in to comment.