diff --git a/src/DefaultEmissionManager.sol b/src/DefaultEmissionManager.sol index 961f206..001d8a1 100644 --- a/src/DefaultEmissionManager.sol +++ b/src/DefaultEmissionManager.sol @@ -80,8 +80,9 @@ contract DefaultEmissionManager is Ownable2StepUpgradeable, IDefaultEmissionMana emit TokenMint(amountToMint, msg.sender); - token.mint(address(this), amountToMint); - token.safeTransfer(treasury, treasuryAmt); + IPolygonEcosystemToken _token = token; + _token.mint(address(this), amountToMint); + _token.safeTransfer(treasury, treasuryAmt); // backconvert POL to MATIC before sending to StakeManager migration.unmigrateTo(stakeManager, stakeManagerAmt); }