Skip to content

Commit

Permalink
chore: dependency cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
0xClandestine committed Sep 30, 2024
1 parent e55ac59 commit 281f370
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/contracts/core/AllocationManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ pragma solidity ^0.8.27;
import "@openzeppelin-upgrades/contracts/proxy/utils/Initializable.sol";
import "@openzeppelin-upgrades/contracts/access/OwnableUpgradeable.sol";
import "@openzeppelin-upgrades/contracts/security/ReentrancyGuardUpgradeable.sol";
import "@openzeppelin-upgrades/contracts/utils/cryptography/SignatureCheckerUpgradeable.sol";

import "../permissions/Pausable.sol";
import "../libraries/EIP1271SignatureUtils.sol";
import "../libraries/SlashingLib.sol";
import "./AllocationManagerStorage.sol";

Expand Down Expand Up @@ -647,7 +647,7 @@ contract AllocationManager is
);

// Assert operator's signature is valid.
EIP1271SignatureUtils.checkSignature_EIP1271(operator, digestHash, operatorSignature.signature);
SignatureCheckerUpgradeable.isValidERC1271SignatureNow(operator, digestHash, operatorSignature.signature);
// Spend salt.
operatorSaltIsSpent[operator][operatorSignature.salt] = true;
}
Expand Down

0 comments on commit 281f370

Please sign in to comment.