mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Formatting, removed console import
This commit is contained in:
parent
687b13f019
commit
e328cf0482
|
@ -10,8 +10,6 @@ import {UserConfiguration} from '../configuration/UserConfiguration.sol';
|
||||||
import {WadRayMath} from '../math/WadRayMath.sol';
|
import {WadRayMath} from '../math/WadRayMath.sol';
|
||||||
import {PercentageMath} from '../math/PercentageMath.sol';
|
import {PercentageMath} from '../math/PercentageMath.sol';
|
||||||
import {IPriceOracleGetter} from '../../interfaces/IPriceOracleGetter.sol';
|
import {IPriceOracleGetter} from '../../interfaces/IPriceOracleGetter.sol';
|
||||||
import "@nomiclabs/buidler/console.sol";
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @title GenericLogic library
|
* @title GenericLogic library
|
||||||
|
@ -63,10 +61,7 @@ library GenericLogic {
|
||||||
address[] calldata reserves,
|
address[] calldata reserves,
|
||||||
address oracle
|
address oracle
|
||||||
) external view returns (bool) {
|
) external view returns (bool) {
|
||||||
if (
|
if (!userConfig.isBorrowingAny() || !userConfig.isUsingAsCollateral(reservesData[asset].id)) {
|
||||||
!userConfig.isBorrowingAny() ||
|
|
||||||
!userConfig.isUsingAsCollateral(reservesData[asset].id)
|
|
||||||
) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user