Skip to content

Commit

Permalink
chore: remove unnecessary bool
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-llimos committed Nov 3, 2023
1 parent a89d51e commit ced139d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/utils/TokenVestingStaking.sol
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ contract TokenVestingStaking is ITokenVestingStaking, Shared {
uint256 currentBalance = token.balanceOf(address(this));
uint256 totalBalance = currentBalance + released[token];

if (block.timestamp >= end || revoked) {
if (block.timestamp >= end) {
return totalBalance;
} else {
// No cliff
Expand Down

0 comments on commit ced139d

Please sign in to comment.