Skip to content

Commit

Permalink
fix: slither-warnings III
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya Dhir committed Mar 15, 2022
1 parent ebc6a25 commit b64f387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/Core/StakeManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ contract StakeManager is Initializable, StakeStorage, StateManager, Pause, Stake
require(stakerId != 0, "staker.id = 0");
// slither-disable-next-line timestamp
require(stakers[stakerId].stake > 0, "Nonpositive stake");
require(locks[msg.sender][stakers[stakerId].tokenAddress][LockType.Unstake].amount == 0, "Existing Unstake Lock");
// slither-disable-next-line timestamp
require(locks[msg.sender][stakers[stakerId].tokenAddress][LockType.Unstake].amount == 0, "Existing Unstake Lock");
uint32 epoch = _getEpoch();
Structs.Staker storage staker = stakers[stakerId];
IStakedToken sToken = IStakedToken(staker.tokenAddress);
Expand Down

0 comments on commit b64f387

Please sign in to comment.