Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions src/PriceFeedConsumer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,12 @@ contract PriceFeedConsumer {
*/
function getLatestPrice() public view returns (int256) {
(
,
/* uint80 roundID */
/* uint80 roundID */,
int256 price,
,
,
) = /* uint256 startedAt */
/* uint256 timeStamp */
/* uint80 answeredInRound */
priceFeed.latestRoundData();
/* uint256 startedAt */,
/* uint256 timeStamp */,
/* uint80 answeredInRound */
) = priceFeed.latestRoundData();
return price;
}

Expand Down