Skip to content

Commit

Permalink
Fix compatibility with Anchor's idl-build
Browse files Browse the repository at this point in the history
  • Loading branch information
oeble committed Nov 3, 2024
1 parent 0f028c6 commit df896c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pythnet/pythnet_sdk/src/messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ pub type Pubkey = [u8; 32];
)]

pub struct PriceFeedMessage {
pub feed_id: FeedId,
/// `FeedId` but avoid the type alias because of compatibility issues with Anchor's `idl-build` feature.
pub feed_id: [u8; 32],
pub price: i64,
pub conf: u64,
pub exponent: i32,
Expand Down

0 comments on commit df896c4

Please sign in to comment.