From ced139dd59da6ad36cced1408ca1349cd3cec3b4 Mon Sep 17 00:00:00 2001
From: albert <allimos3@gmail.com>
Date: Fri, 3 Nov 2023 14:09:13 +0100
Subject: [PATCH] chore: remove unnecessary bool

---
 contracts/utils/TokenVestingStaking.sol | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contracts/utils/TokenVestingStaking.sol b/contracts/utils/TokenVestingStaking.sol
index d7eb5b09..8e0ca1b2 100644
--- a/contracts/utils/TokenVestingStaking.sol
+++ b/contracts/utils/TokenVestingStaking.sol
@@ -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