Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Merge branch 'v0.3.0-backport' into missing-test
Browse files Browse the repository at this point in the history
  • Loading branch information
coinsandsteeldev authored Mar 3, 2021
2 parents 7a98556 + 6f755fb commit f89c4e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/staking/validatorShare/ValidatorShare.sol
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ contract ValidatorShare is IValidatorShare, ERC20NonTradable, OwnableLockable, I
}

function migrateIn(address user, uint256 amount) external onlyOwner {
_withdrawAndTransferReward(user);
_buyShares(amount, 0, user);
}

Expand Down

0 comments on commit f89c4e3

Please sign in to comment.