File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -186,10 +186,10 @@ contract MedianOracle is OwnableUpgradeable, IOracle {
186186 .timestamp;
187187 if (reportTimestampPast < minValidTimestamp) {
188188 // Past report is too old.
189- emit ReportTimestampOutOfRange (providerAddress);
189+ // Deprecated: emit ReportTimestampOutOfRange(providerAddress);
190190 } else if (reportTimestampPast > maxValidTimestamp) {
191191 // Past report is too recent.
192- emit ReportTimestampOutOfRange (providerAddress);
192+ // Deprecated: emit ReportTimestampOutOfRange(providerAddress);
193193 } else {
194194 // Using past report.
195195 validReports[size++ ] = providerReports[providerAddress][index_past].payload;
@@ -198,7 +198,7 @@ contract MedianOracle is OwnableUpgradeable, IOracle {
198198 // Recent report is not too recent.
199199 if (reportTimestampRecent < minValidTimestamp) {
200200 // Recent report is too old.
201- emit ReportTimestampOutOfRange (providerAddress);
201+ // Deprecated: emit ReportTimestampOutOfRange(providerAddress);
202202 } else {
203203 // Using recent report.
204204 validReports[size++ ] = providerReports[providerAddress][index_recent].payload;
You can’t perform that action at this time.
0 commit comments