Timelock, erc20Wrapper and erc20FlashMint verification
This commit is contained in:
@ -44,7 +44,7 @@ abstract contract ERC20Wrapper is ERC20 {
|
||||
* @dev Mint wrapped token to cover any underlyingTokens that would have been transferred by mistake. Internal
|
||||
* function that can be exposed with access control if desired.
|
||||
*/
|
||||
function _recover(address account) internal virtual returns (uint256) {
|
||||
function _recover(address account) public virtual returns (uint256) { // HARNESS: internal -> public
|
||||
uint256 value = underlying.balanceOf(address(this)) - totalSupply();
|
||||
_mint(account, value);
|
||||
return value;
|
||||
|
||||
Reference in New Issue
Block a user