Skip to content

Commit

Permalink
add more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jgimeno committed Feb 23, 2024
1 parent d84972c commit f641efb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/airdrop-token-vesting/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ impl VestingSchedule {
/// - that the cliff amount is not zero.
/// - that the cliff amount is less than or equal to the vesting amount.
///
/// Also it calls to validate_time
///
pub fn validate(&self, block_time: Timestamp) -> Result<(), VestingError> {
self.validate_time(block_time)?;
match &self {
Expand Down

0 comments on commit f641efb

Please sign in to comment.