Skip to content

Commit

Permalink
New translations pricefeed.md (Chinese Simplified)
Browse files Browse the repository at this point in the history
  • Loading branch information
darwintree committed Dec 20, 2024
1 parent 2771e49 commit 91bd49c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ contract CFXPrice {
uint fee = pyth.getUpdateFee(priceUpdateData);
pyth.updatePriceFeeds{value: fee}(priceUpdateData);
PythStructs.Price memory price = pyth.getPrice(CFX_USD_PRICE_ID);
PythStructs.Price memory price = pyth.getPriceNoOlderThan(CFX_USD_PRICE_ID,60);
return (price.price, price.conf);
}
}
Expand Down

0 comments on commit 91bd49c

Please sign in to comment.