mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
remove: Remove console.sol imports
This commit is contained in:
parent
5e66335375
commit
2b92dc8119
|
@ -13,7 +13,6 @@ import {
|
|||
} from '../../../protocol/libraries/aave-upgradeability/VersionedInitializable.sol';
|
||||
import {ICurveFeeDistributor} from '../../interfaces/curve/ICurveFeeDistributor.sol';
|
||||
import {ICurveTreasury} from '../../interfaces/curve/ICurveTreasury.sol';
|
||||
import 'hardhat/console.sol';
|
||||
|
||||
/**
|
||||
* @title Curve Treasury that holds Curve LP and Gauge tokens
|
||||
|
@ -68,6 +67,7 @@ contract CurveTreasury is ICurveTreasury, VersionedInitializable {
|
|||
* @dev Revert if caller and selected token is not a whitelisted entity
|
||||
*/
|
||||
modifier onlyWhitelistedEntity(address token) {
|
||||
console.log(msg.sender, token, _entityTokenWhitelist[msg.sender][token]);
|
||||
require(_entityTokenWhitelist[msg.sender][token] == true, 'ENTITY_NOT_WHITELISTED');
|
||||
_;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user