diff --git a/src/oracle/oracle.cairo b/src/oracle/oracle.cairo index 4bd61b5c..232cf751 100644 --- a/src/oracle/oracle.cairo +++ b/src/oracle/oracle.cairo @@ -840,10 +840,10 @@ mod Oracle { ) }; - let last_updated_timestamp = max( + let last_updated_timestamp = min( quotePPR.last_updated_timestamp, basePPR.last_updated_timestamp ); - let num_sources_aggregated = max( + let num_sources_aggregated = min( quotePPR.num_sources_aggregated, basePPR.num_sources_aggregated ); PragmaPricesResponse {