diff --git a/contracts/Resolver.sol b/contracts/Resolver.sol index 68c67f3..52f4404 100644 --- a/contracts/Resolver.sol +++ b/contracts/Resolver.sol @@ -40,9 +40,7 @@ abstract contract Resolver is IResolver, OwnableUpgradeable { uint256 tenderizerSteakBal = protocol.steak.balanceOf(_tenderizer); - if (tenderizerSteakBal < protocol.depositThreshold) { - canExec = false; - } else { + if (tenderizerSteakBal >= protocol.depositThreshold) { canExec = true; execPayload = abi.encode(tenderizerSteakBal); }