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

Commit f89c4e3

Browse files
Merge branch 'v0.3.0-backport' into missing-test
2 parents 7a98556 + 6f755fb commit f89c4e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contracts/staking/validatorShare/ValidatorShare.sol

+1
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ contract ValidatorShare is IValidatorShare, ERC20NonTradable, OwnableLockable, I
180180
}
181181

182182
function migrateIn(address user, uint256 amount) external onlyOwner {
183+
_withdrawAndTransferReward(user);
183184
_buyShares(amount, 0, user);
184185
}
185186

0 commit comments

Comments
 (0)