Skip to content

Commit 6afd239

Browse files
slither false positive
1 parent 9cef775 commit 6afd239

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/pyth/LibPyth.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ library LibPyth {
134134
bytes32 feedId = getPriceFeedId(feedSymbol);
135135
IPyth priceFeedContract = getPriceFeedContract(block.chainid);
136136

137+
// Slither false positive because conf is returned for caller to handle.
138+
// slither-disable-next-line pyth-unchecked-confidence
137139
PythStructs.Price memory priceData = priceFeedContract.getPriceNoOlderThan(feedId, staleAfterUint);
138140

139141
return (

0 commit comments

Comments
 (0)