Skip to content

Commit

Permalink
fix: add missing uint type
Browse files Browse the repository at this point in the history
Signed-off-by: Reinis Martinsons <[email protected]>
  • Loading branch information
Reinis-FRP committed May 9, 2024
1 parent f9c254a commit 3008c53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ abstract contract ChainlinkDestinationAdapter is DiamondRootOval, IAggregatorV3
*/
function latestRoundData() external view returns (uint80, int256, uint256, uint256, uint80) {
(int256 answer, uint256 updatedAt, uint256 _roundId) = internalLatestData();
roundId = SafeCast.toUint80(_roundId);
uint80 roundId = SafeCast.toUint80(_roundId);
return (roundId, DecimalLib.convertDecimals(answer, 18, decimals), updatedAt, updatedAt, roundId);
}
}

0 comments on commit 3008c53

Please sign in to comment.