diff --git a/contracts/PushCore/PushCoreV2_Temp.sol b/contracts/PushCore/PushCoreV2_Temp.sol index b7ffb55e..652d25c6 100644 --- a/contracts/PushCore/PushCoreV2_Temp.sol +++ b/contracts/PushCore/PushCoreV2_Temp.sol @@ -144,12 +144,12 @@ contract PushCoreV2_Temp is Initializable, PushCoreStorageV1_5, PausableUpgradea } function pauseContract() external { - onlyGovernance(); + onlyPushChannelAdmin(); _pause(); } function unPauseContract() external { - onlyGovernance(); + onlyPushChannelAdmin(); _unpause(); } /** @@ -401,7 +401,7 @@ contract PushCoreV2_Temp is Initializable, PushCoreStorageV1_5, PausableUpgradea /// @inheritdoc IPushCoreV2 function blockChannel(address _channelAddress) external whenNotPaused { - onlyPushChannelAdmin(); + onlyGovernance(); if (((channels[_channelAddress].channelState == 3) || (channels[_channelAddress].channelState == 0))) { revert Errors.Core_InvalidChannel(); }