mirror of
https://github.com/Instadapp/dsa-polygon-migration.git
synced 2024-07-29 22:27:58 +00:00
Anyone can migrate the position on L2
This commit is contained in:
parent
84598c2d87
commit
62cd2ea563
|
@ -106,7 +106,6 @@ contract AaveV2Migrator is MigrateResolver {
|
||||||
}
|
}
|
||||||
|
|
||||||
function migrate(address owner) external {
|
function migrate(address owner) external {
|
||||||
require(msg.sender == owner, "not-authorized");
|
|
||||||
require(canMigrate(owner), "not-enough-liquidity");
|
require(canMigrate(owner), "not-enough-liquidity");
|
||||||
|
|
||||||
_migratePosition(owner);
|
_migratePosition(owner);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user