Skip to content

Commit

Permalink
Merge pull request #16 from tomrpl/feat/fixing-warning-return-error
Browse files Browse the repository at this point in the history
feat(adding: base and quote for decoding the data)
  • Loading branch information
tomrpl authored Jul 30, 2024
2 parents d36f1af + b28be73 commit 68ea434
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 68ea434

Please sign in to comment.