Skip to content

Commit 51eb048

Browse files
Remove redundant variable from blocklist (#12)
1 parent a678ffd commit 51eb048

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/QueryTypeStakingPool.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,7 @@ contract QueryTypeStakingPool is Ownable {
299299

300300
if (isBlocklisted[_user]) revert QueryTypeStakingPool__AlreadyBlocklisted();
301301

302-
StakeInfo storage userStake = stakes[_user];
303-
uint256 amountToJail = userStake.amount;
302+
uint256 amountToJail = stakes[_user].amount;
304303

305304
if (amountToJail > 0) {
306305
totalCapacityJailed += amountToJail;

0 commit comments

Comments
 (0)