Skip to content

Commit

Permalink
Fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Zelig880 committed Oct 5, 2022
1 parent ea664d8 commit bbaf6cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions api/feed/getLatestDataRound.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ const getLatestDataRound = async (address, pair) => {
anchor.setProvider(provider);

const CHAINLINK_FEED_ADDRESS = address;
console.log('Fetching pair:', pair);
console.log('Fetching address:', address);

const feedAddress = new anchor.web3.PublicKey(CHAINLINK_FEED_ADDRESS);

// load the data feed account using the predefined chainlink program ID
Expand Down
4 changes: 0 additions & 4 deletions src/lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ export const CURRENCY_PAIRS = [
{
pair: 'LINK/USD',
feedAddress: process.env.REACT_APP_LINK_USD
},
{
pair: 'USDT/USD',
feedAddress: process.env.REACT_APP_USDT_USD
}
];

Expand Down

1 comment on commit bbaf6cf

@vercel
Copy link

@vercel vercel bot commented on bbaf6cf Oct 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.