Skip to content

Commit

Permalink
Merge branch 'refactor-and-bugfixing' of github.com:adm-metaex/mplx-s…
Browse files Browse the repository at this point in the history
…taking into testing-branch
  • Loading branch information
kstepanovdev committed Jul 10, 2024
2 parents 38a6a1b + 16ef101 commit 2008218
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ pub fn extend_stake(
target.lockup.end_ts = curr_ts
.checked_add(new_lockup_period.to_secs())
.ok_or(VsrError::InvalidTimestampArguments)?;
target.lockup.period = new_lockup_period;

let reward_pool = &ctx.accounts.reward_pool;
let mining = &ctx.accounts.deposit_mining;
Expand Down

0 comments on commit 2008218

Please sign in to comment.