From 7061a3d8f8689876ac3981cea688e263c1270fa5 Mon Sep 17 00:00:00 2001 From: Aditya Arora Date: Mon, 1 Jul 2024 16:22:53 -0400 Subject: [PATCH] (fix:pricefeed/guide/evm) Add storage type to price object --- pages/price-feeds/use-real-time-data/evm.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/price-feeds/use-real-time-data/evm.mdx b/pages/price-feeds/use-real-time-data/evm.mdx index eca1d408..5c75516e 100644 --- a/pages/price-feeds/use-real-time-data/evm.mdx +++ b/pages/price-feeds/use-real-time-data/evm.mdx @@ -76,7 +76,7 @@ contract SomeContract { // Each price feed (e.g., ETH/USD) is identified by a price feed ID. // The complete list of feed IDs is available at https://pyth.network/developers/price-feed-ids bytes32 priceFeedId = 0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace; // ETH/USD - PythStructs.Price price = pyth.getPrice(priceFeedId); + PythStructs.Price memory price = pyth.getPrice(priceFeedId); } }