diff --git a/contracts/activity/CECDistributor.sol b/contracts/activity/CECDistributor.sol index ad738f2..a853588 100644 --- a/contracts/activity/CECDistributor.sol +++ b/contracts/activity/CECDistributor.sol @@ -130,7 +130,7 @@ contract CECDistributor is ReentrancyGuard, Pausable, Ownable, Governable { require(infoMap[to].amount == 0, "CECDistributor: new addr is in whitelist"); require(infoMap[from].amount > 0, "CECDistributor: not in whitelist"); address _sender = _msgSender(); - require(_sender == owner() || _sender == gov || _sender == from, "CECDistributor: sender not allowed"); + require(_sender == owner() || _sender == from, "CECDistributor: sender not allowed"); infoMap[to] = infoMap[from]; delete infoMap[from]; releasedMap[to] = releasedMap[from];