Skip to content

Commit

Permalink
Resize account
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Oct 16, 2023
1 parent 5b8460d commit 1808d5a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions staking/programs/staking/src/state/global_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ pub mod tests {
epoch_duration: 1, // epoch duration in seconds
freeze: false,
pyth_token_list_time: None,
pda_authority: Pubkey::default(),
governance_program: Pubkey::default(),
#[cfg(feature = "mock-clock")]
mock_clock_time: 0,
};
Expand All @@ -78,6 +80,8 @@ pub mod tests {
epoch_duration: 1, // epoch duration in seconds
freeze: true,
pyth_token_list_time: None,
pda_authority: Pubkey::default(),
governance_program: Pubkey::default(),
#[cfg(feature = "mock-clock")]
mock_clock_time: 0,
};
Expand Down
2 changes: 1 addition & 1 deletion staking/programs/staking/src/state/stake_account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub struct StakeAccountMetadataV2 {
}

impl StakeAccountMetadataV2 {
pub const LEN: usize = 86;
pub const LEN: usize = 87;
}

#[cfg(test)]
Expand Down

0 comments on commit 1808d5a

Please sign in to comment.