From 66387d96d84e902df338604c41b2d90b3547bb7e Mon Sep 17 00:00:00 2001 From: Saurabh Joshi Date: Mon, 23 Dec 2024 20:42:32 +0530 Subject: [PATCH] remove contraint that start time can not be in past --- .../supra-framework/sources/pbo_delegation_pool.move | 5 ----- 1 file changed, 5 deletions(-) diff --git a/aptos-move/framework/supra-framework/sources/pbo_delegation_pool.move b/aptos-move/framework/supra-framework/sources/pbo_delegation_pool.move index 0a94b098908d1..8cd88f2fd8821 100644 --- a/aptos-move/framework/supra-framework/sources/pbo_delegation_pool.move +++ b/aptos-move/framework/supra-framework/sources/pbo_delegation_pool.move @@ -783,11 +783,6 @@ module supra_framework::pbo_delegation_pool { features::delegation_pools_enabled(), error::invalid_state(EDELEGATION_POOLS_DISABLED) ); - //Unlock start time can not be in the past - assert!( - unlock_start_time >= timestamp::now_seconds(), - error::invalid_argument(ESTARTUP_TIME_IN_PAST) - ); //Unlock duration can not be zero assert!(unlock_duration > 0, error::invalid_argument(EPERIOD_DURATION_IS_ZERO)); //Fraction denominator can not be zero