Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: chrismaree <[email protected]>
  • Loading branch information
chrismaree committed Nov 4, 2024
1 parent 3c083d1 commit 5b8aaf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion programs/svm-spoke/src/instructions/deposit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ pub fn deposit_v3_now(
exclusivity_period: u32,
message: Vec<u8>,
) -> Result<()> {
let current_time = get_current_time(ctx.accounts.state)?;
let state = &mut ctx.accounts.state;
let current_time = get_current_time(state)?;
deposit_v3(
ctx,
depositor,
Expand Down

0 comments on commit 5b8aaf8

Please sign in to comment.