Skip to content

Commit 104d89b

Browse files
committed
fix: whenNotPaused on transferBySortitionModule() L-02
1 parent ad3006d commit 104d89b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/src/arbitration/KlerosCore.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ contract KlerosCore is IArbitratorV2, Initializable, UUPSProxiable {
624624
/// @notice Transfers PNK to the juror by SortitionModule.
625625
/// @param _account The account of the juror whose PNK to transfer.
626626
/// @param _amount The amount to transfer.
627-
function transferBySortitionModule(address _account, uint256 _amount) external {
627+
function transferBySortitionModule(address _account, uint256 _amount) external whenNotPaused {
628628
if (msg.sender != address(sortitionModule)) revert SortitionModuleOnly();
629629
// Note eligibility is checked in SortitionModule.
630630
if (!pinakion.safeTransfer(_account, _amount)) revert TransferFailed();

0 commit comments

Comments
 (0)