Add internal overrideable _flashFee in ERC20FlashMint (#3551)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: Francisco <frangio.1@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6e8d885ca7
commit
d1b1e17d23
@ -25,8 +25,7 @@ contract ERC20FlashMintMock is ERC20FlashMint {
|
||||
_flashFeeAmount = amount;
|
||||
}
|
||||
|
||||
function flashFee(address token, uint256 amount) public view virtual override returns (uint256) {
|
||||
super.flashFee(token, amount);
|
||||
function _flashFee(address, uint256) internal view override returns (uint256) {
|
||||
return _flashFeeAmount;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user