function visibility and inheritability
Signed-off-by: T-Hax <>
This commit is contained in:
parent
eca31a997e
commit
4e591b515e
@ -30,7 +30,7 @@ contract ERC20Tornado is Tornado {
|
||||
token = _token;
|
||||
}
|
||||
|
||||
function _processDeposit() internal override {
|
||||
function _processDeposit() internal virtual override {
|
||||
require(msg.value == 0, "ETH value is supposed to be 0 for ERC20 instance");
|
||||
token.safeTransferFrom(msg.sender, address(this), denomination);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user