Fix ERC20._update (#3921)

Co-authored-by: Francisco <frangio.1@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
JulissaDantes
2023-01-10 15:21:35 -05:00
committed by GitHub
parent a290e13099
commit d210847e28
8 changed files with 72 additions and 27 deletions

View File

@ -30,4 +30,9 @@ contract ERC20Mock is ERC20 {
function approveInternal(address owner, address spender, uint256 value) public {
_approve(owner, spender, value);
}
// Exposed for testing purposes
function update(address from, address to, uint256 amount) public {
_update(from, to, amount);
}
}