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 {
186
186
.timestamp;
187
187
if (reportTimestampPast < minValidTimestamp) {
188
188
// Past report is too old.
189
- emit ReportTimestampOutOfRange (providerAddress);
189
+ // Deprecated: emit ReportTimestampOutOfRange(providerAddress);
190
190
} else if (reportTimestampPast > maxValidTimestamp) {
191
191
// Past report is too recent.
192
- emit ReportTimestampOutOfRange (providerAddress);
192
+ // Deprecated: emit ReportTimestampOutOfRange(providerAddress);
193
193
} else {
194
194
// Using past report.
195
195
validReports[size++ ] = providerReports[providerAddress][index_past].payload;
@@ -198,7 +198,7 @@ contract MedianOracle is OwnableUpgradeable, IOracle {
198
198
// Recent report is not too recent.
199
199
if (reportTimestampRecent < minValidTimestamp) {
200
200
// Recent report is too old.
201
- emit ReportTimestampOutOfRange (providerAddress);
201
+ // Deprecated: emit ReportTimestampOutOfRange(providerAddress);
202
202
} else {
203
203
// Using recent report.
204
204
validReports[size++ ] = providerReports[providerAddress][index_recent].payload;
You can’t perform that action at this time.
0 commit comments