Skip to content

Commit 28721f0

Browse files
author
0xfirefist
committed
don't expose prices
1 parent 84827dd commit 28721f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyth-sdk/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ pub type DurationInSeconds = u64;
103103
#[repr(C)]
104104
pub struct PriceFeed {
105105
/// Unique identifier for this price.
106-
pub id: PriceIdentifier,
106+
pub id: PriceIdentifier,
107107
/// Price.
108-
pub price: Price,
108+
price: Price,
109109
/// Exponentially-weighted moving average (EMA) price.
110-
pub ema_price: Price,
110+
ema_price: Price,
111111
}
112112

113113
impl PriceFeed {

0 commit comments

Comments
 (0)