Skip to content

Commit

Permalink
feat(adding: base and quote for decoding the data)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomrpl committed Jul 30, 2024
1 parent 89a83b9 commit b28be73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hooks/useFetchOracleData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ const useFetchOracleData = () => {

const correctOracleData = oracleDataList.find(
(data: any) =>
data.baseVault === oracleData?.baseVault &&
data.quoteVault === oracleData?.quoteVault &&
data.baseFeed1 === oracleData?.baseFeed1 &&
data.baseFeed2 === oracleData?.baseFeed2 &&
data.quoteFeed1 === oracleData?.quoteFeed1 &&
Expand Down

0 comments on commit b28be73

Please sign in to comment.