Skip to content

Commit

Permalink
minor fix: remove registrar parsing from unlock_tokens()
Browse files Browse the repository at this point in the history
  • Loading branch information
kstepanovdev committed Jun 21, 2024
1 parent 11dab44 commit 902616e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ pub struct UnlockTokens<'info> {
}

pub fn unlock_tokens(ctx: Context<UnlockTokens>, deposit_entry_index: u8) -> Result<()> {
let registrar = &ctx.accounts.registrar.load()?;
let voter = &mut ctx.accounts.voter.load_mut()?;
let curr_ts = clock_unix_timestamp();

Expand Down

0 comments on commit 902616e

Please sign in to comment.