Skip to content

Commit 60e9b44

Browse files
committed
go
1 parent a08d35f commit 60e9b44

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

target_chains/solana/sdk/js/pyth_solana_receiver/examples/post_price_update_atomic.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import { HermesClient } from "@pythnetwork/hermes-client";
88
// Get price feed ids from https://pyth.network/developers/price-feed-ids#pyth-evm-stable
99
const SOL_PRICE_FEED_ID =
1010
"0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d";
11-
const ETH_PRICE_FEED_ID =
12-
"0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace";
1311

1412
let keypairFile = "";
1513
if (process.env["SOLANA_KEYPAIR"]) {
@@ -78,7 +76,7 @@ async function getPriceUpdateData() {
7876
);
7977

8078
const response = await priceServiceConnection.getLatestPriceUpdates(
81-
[SOL_PRICE_FEED_ID, ETH_PRICE_FEED_ID],
79+
[SOL_PRICE_FEED_ID],
8280
{ encoding: "base64" }
8381
);
8482

0 commit comments

Comments
 (0)