Skip to content

Commit 0003e44

Browse files
author
0xfirefist
committed
expose price from PriceFeed
1 parent 5f06773 commit 0003e44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyth-sdk/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ pub struct PriceFeed {
105105
/// Unique identifier for this price.
106106
pub id: PriceIdentifier,
107107
/// Price.
108-
price: Price,
108+
pub price: Price,
109109
/// Exponentially-weighted moving average (EMA) price.
110-
ema_price: Price,
110+
pub ema_price: Price,
111111
}
112112

113113
impl PriceFeed {

0 commit comments

Comments
 (0)