From bfa26634a61347391f5f1251e837c18e2d381c0e Mon Sep 17 00:00:00 2001 From: The3D <frangellaemilio@gmail.com> Date: Tue, 10 Nov 2020 13:47:31 +0100 Subject: [PATCH] Removed setDecimals --- contracts/lendingpool/LendingPoolConfigurator.sol | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/contracts/lendingpool/LendingPoolConfigurator.sol b/contracts/lendingpool/LendingPoolConfigurator.sol index e8f79502..c9a828de 100644 --- a/contracts/lendingpool/LendingPoolConfigurator.sol +++ b/contracts/lendingpool/LendingPoolConfigurator.sol @@ -554,21 +554,6 @@ contract LendingPoolConfigurator is VersionedInitializable { emit ReserveLiquidationBonusChanged(asset, bonus); } - /** - * @dev updates the reserve decimals - * @param asset the address of the reserve - * @param decimals the new number of decimals - **/ - function setReserveDecimals(address asset, uint256 decimals) external onlyPoolAdmin { - ReserveConfiguration.Map memory currentConfig = pool.getConfiguration(asset); - - currentConfig.setDecimals(decimals); - - pool.setConfiguration(asset, currentConfig.data); - - emit ReserveDecimalsChanged(asset, decimals); - } - /** * @dev sets the interest rate strategy of a reserve * @param asset the address of the reserve