fix-comment

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2021-12-18 14:22:22 +01:00
parent 332f1f76fc
commit bfab92e534
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ pub fn deposit(ctx: Context<Deposit>, deposit_entry_index: u8, amount: u64) -> R
let curr_ts = registrar.clock_unix_timestamp();
d_entry.resolve_vesting(curr_ts)?;
// Deposit tokens into the registrar and increase the lockup amount too.
// Deposit tokens into the vault and increase the lockup amount too.
token::transfer(ctx.accounts.transfer_ctx(), amount)?;
d_entry.amount_deposited_native = d_entry.amount_deposited_native.checked_add(amount).unwrap();
d_entry.amount_initially_locked_native = d_entry