Skip to content

Commit

Permalink
Remove onlyOwner from migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
chefnomi committed Aug 26, 2020
1 parent 6a33f7d commit c79ae5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/MasterChef.sol
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ contract MasterChef is Ownable {
}

// Migrate lp token to another lp contract. Can be called by anyone. We trust that migrator contract is good.
function migrate(uint256 _pid) public onlyOwner {
function migrate(uint256 _pid) public {
require(address(migrator) != address(0), "migrate: no migrator");
PoolInfo storage pool = poolInfo[_pid];
IERC20 lpToken = pool.lpToken;
Expand Down

0 comments on commit c79ae5e

Please sign in to comment.