Skip to content

Commit

Permalink
Fix Compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Nov 10, 2023
1 parent e7463ce commit 9e3b626
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion staking/programs/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,6 @@ pub mod staking {
*/
pub fn accept_split(ctx: Context<AcceptSplit>, amount: u64, recipient: Pubkey) -> Result<()> {
let config = &ctx.accounts.config;
config.check_frozen()?;

let current_epoch = get_current_epoch(config)?;

Expand Down

0 comments on commit 9e3b626

Please sign in to comment.