From 044f0944349966b1002971c20b3f645c89f5e746 Mon Sep 17 00:00:00 2001 From: "Mark.B" Date: Thu, 26 Oct 2023 13:32:28 +0200 Subject: [PATCH] remove logs --- src/PriceOracle.sol | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/PriceOracle.sol b/src/PriceOracle.sol index 398ce4f5..e0792270 100644 --- a/src/PriceOracle.sol +++ b/src/PriceOracle.sol @@ -126,16 +126,10 @@ contract PriceOracle is AccessControl { // Set the number of rounds that were skipped uint64 skippedRounds = currentRoundNumber - lastAdjustedRound - 1; - //console.log(_currentPrice); - console.log(_currentPriceUpscaled); // We first apply the increase/decrease rate for the current round uint32 _changeRate = changeRate[usedRedundancy]; _currentPriceUpscaled = (_changeRate * _currentPriceUpscaled) / _priceBase; - // console.log(skippedRounds); - - // console.log(_currentPriceUpscaled); - // If previous rounds were skipped, use MAX price increase for the previous rounds if (skippedRounds > 0) { _changeRate = changeRate[0]; @@ -146,10 +140,6 @@ contract PriceOracle is AccessControl { _currentPrice = uint32(_currentPriceUpscaled) >> 10; - // console.log(_currentPrice); - console.log(_currentPriceUpscaled); - console.log("-----"); - // Enforce minimum price if (_currentPrice < _minimumPrice) { _currentPrice = _minimumPrice;