mirror of
https://github.com/logos-co/staking.git
synced 2025-02-03 14:24:13 +00:00
update solc
This commit is contained in:
parent
1417e1721a
commit
98ea9aee4f
@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
pragma solidity 0.8.19;
|
pragma solidity 0.8.20;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
||||||
import "@openzeppelin/contracts/access/Ownable.sol";
|
import "@openzeppelin/contracts/access/Ownable.sol";
|
||||||
@ -159,7 +159,6 @@ contract StakeManager is Ownable {
|
|||||||
stakedToken.approve(migration, account.balance);
|
stakedToken.approve(migration, account.balance);
|
||||||
migration.migrate(msg.sender, account);
|
migration.migrate(msg.sender, account);
|
||||||
delete account;
|
delete account;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function migrate(address _vault, Account memory _account) external {
|
function migrate(address _vault, Account memory _account) external {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user