Skip to content

Commit 44bf125

Browse files
committed
feat: feed index (wip)
1 parent 70912fd commit 44bf125

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

program/rust/src/accounts/price.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ mod price_pythnet {
6969
pub max_latency_: u8,
7070
/// Various flags
7171
pub flags: PriceAccountFlags,
72-
/// Unused placeholder for alignment
73-
pub unused_3_: i32,
72+
/// Globally unique price feed index used for publishing.
73+
/// Limited to 28 bites.
74+
pub feed_index: i32,
7475
/// Corresponding product account
7576
pub product_account: Pubkey,
7677
/// Next price account in the list

0 commit comments

Comments
 (0)