Skip to content

Commit

Permalink
fix: update version, rollback auto formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Jan 10, 2024
1 parent 4722c67 commit b789bf7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions contracts/DataFeedConsumer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ contract DataFeedConsumer {
function getLatestData() public {
(
uint80 roundId_,
int256 answer_ /* uint startedAt */ /* uint updatedAt */ /* uint80 answeredInRound */,
,
,

int256 answer_
, /* uint startedAt */
, /* uint updatedAt */
, /* uint80 answeredInRound */
) = dataFeed.latestRoundData();

answer = answer_;
Expand All @@ -35,10 +35,10 @@ contract DataFeedConsumer {
function getLatestDataThroughRouter(string calldata pair) public {
(
uint80 roundId_,
int256 answer_ /* uint startedAt */ /* uint updatedAt */ /* uint80 answeredInRound */,
,
,

int256 answer_
, /* uint startedAt */
, /* uint updatedAt */
, /* uint80 answeredInRound */
) = router.latestRoundData(pair);

answer = answer_;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "data-feed-consumer",
"version": "0.2.0",
"version": "0.3.0",
"license": "MIT",
"author": "Bisonai",
"scripts": {
Expand Down

0 comments on commit b789bf7

Please sign in to comment.