|
@@ -261,6 +261,7 @@ pub struct VerifyMessage<'info> {
|
|
|
)]
|
|
)]
|
|
|
pub storage: Account<'info, Storage>,
|
|
pub storage: Account<'info, Storage>,
|
|
|
/// CHECK: this account doesn't need additional constraints.
|
|
/// CHECK: this account doesn't need additional constraints.
|
|
|
|
|
+ #[account(mut)]
|
|
|
pub treasury: AccountInfo<'info>,
|
|
pub treasury: AccountInfo<'info>,
|
|
|
pub system_program: Program<'info, System>,
|
|
pub system_program: Program<'info, System>,
|
|
|
/// CHECK: account ID is checked in Solana SDK during calls
|
|
/// CHECK: account ID is checked in Solana SDK during calls
|
|
@@ -280,6 +281,7 @@ pub struct VerifyEcdsaMessage<'info> {
|
|
|
)]
|
|
)]
|
|
|
pub storage: Account<'info, Storage>,
|
|
pub storage: Account<'info, Storage>,
|
|
|
/// CHECK: this account doesn't need additional constraints.
|
|
/// CHECK: this account doesn't need additional constraints.
|
|
|
|
|
+ #[account(mut)]
|
|
|
pub treasury: AccountInfo<'info>,
|
|
pub treasury: AccountInfo<'info>,
|
|
|
pub system_program: Program<'info, System>,
|
|
pub system_program: Program<'info, System>,
|
|
|
}
|
|
}
|