Fix guardian set expiration
Change-Id: Ie92168305db2dcd69421f369078d118a011332e1
This commit is contained in:
parent
1a8bf4456e
commit
48e8ae1555
|
@ -130,7 +130,7 @@ pub struct UpgradeGuardianSet<'b> {
|
|||
pub vaa: ClaimableVAA<'b, GovernancePayloadGuardianSetChange>,
|
||||
|
||||
/// Old guardian set
|
||||
pub guardian_set_old: GuardianSet<'b, { AccountState::Initialized }>,
|
||||
pub guardian_set_old: Mut<GuardianSet<'b, { AccountState::Initialized }>>,
|
||||
|
||||
/// New guardian set
|
||||
pub guardian_set_new: Mut<GuardianSet<'b, { AccountState::Uninitialized }>>,
|
||||
|
|
|
@ -291,7 +291,7 @@ pub fn upgrade_guardian_set(
|
|||
AccountMeta::new(bridge, false),
|
||||
AccountMeta::new_readonly(payload_message, false),
|
||||
AccountMeta::new(claim, false),
|
||||
AccountMeta::new_readonly(guardian_set_old, false),
|
||||
AccountMeta::new(guardian_set_old, false),
|
||||
AccountMeta::new(guardian_set_new, false),
|
||||
AccountMeta::new_readonly(solana_program::system_program::id(), false),
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue