I need a withdraw function to be available only after the block.timestamp is greater than this date determined in unix in relation to the condition of a struct "userInfo"{timeLockUser}.
I tried with require(user.timeLockUser < block.timestamp)
Is this reasoning wrong? Could anyone help me with this, thanks!
Feb 14, 2022, 7:42 PM
someone can help me with that
Feb 14, 2022, 7:42 PM