parent
9e119dc1f3
commit
bb40c2adc1
|
@ -54,8 +54,8 @@ impl VerificationLevel {
|
||||||
/// - `verification_level`: The [`VerificationLevel`] of this price update. This represents how many Wormhole guardian signatures have been verified for this price update.
|
/// - `verification_level`: The [`VerificationLevel`] of this price update. This represents how many Wormhole guardian signatures have been verified for this price update.
|
||||||
/// - `price_message`: The actual price update.
|
/// - `price_message`: The actual price update.
|
||||||
/// - `posted_slot`: The slot at which this price update was posted.
|
/// - `posted_slot`: The slot at which this price update was posted.
|
||||||
#[derive(BorshSchema)]
|
|
||||||
#[account]
|
#[account]
|
||||||
|
#[derive(BorshSchema)]
|
||||||
pub struct PriceUpdateV2 {
|
pub struct PriceUpdateV2 {
|
||||||
pub write_authority: Pubkey,
|
pub write_authority: Pubkey,
|
||||||
pub verification_level: VerificationLevel,
|
pub verification_level: VerificationLevel,
|
||||||
|
|
Loading…
Reference in New Issue